-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add destination aware log level filtering #9
Conversation
972aca2
to
9999871
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a quick review pass over the PR and left inline comments. With dest
vs destination
resolved this LGTM . Haven't done any extra testing, but CI with the added tests should be sufficient.
- Add optional destination_label to start_logging function. - Add dictionary to map destination label to minimum log level. - The default log handler gets the destination level for the label provided in start_logging; falling back to the default value if no label was given, or if the given label has not been assigned a level.
Update tests and docs to match.
751f2ea
to
4368c24
Compare
That should work now, I reverted the context dict fix on this branch instead of rebasing it out, so I had to drop that commit when rebasing onto main. |
No description provided.