Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-92592: Allow logging filters to return a LogRecord. (GH-92591)#92591
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
3aeeba61e4d27fb526a35f1ea18319561d314e704d4d34540a69e76a67453f6b1e1084f72c594225329f735d78a5e54c77f52e40446e2f7f7a0f470643551dFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -664,8 +664,8 @@ empty string, all events are passed. | ||
| Is the specified record to be logged? Returns zero for no, nonzero for | ||
| ||
| yes. Filters can also modify log records in-place or return a completely | ||
| ||
| different recordinstancewhich will replace the original | ||
| log record withoutmodifying it. | ||
| ||
| Note that filters attached to handlers are consulted before an event is | ||
| emitted by the handler, whereas filters attached to loggers are consulted | ||