Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update logging.rst
  • Loading branch information
vsajip authored Jun 7, 2022
commit 643551d9c502c458caf3c99a0fae0cfc79be65cf
2 changes: 1 addition & 1 deletion Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ which has a ``filter`` method with the same semantics.
.. versionchanged:: 3.12
You can now return a :class:`LogRecord` instance from filters to replace
the log record rather than modifying it in place. This allows filters attached to
a :class:`Handler` to modify the log record before it is emitted without
a :class:`Handler` to modify the log record before it is emitted, without
having side effects on other handlers.

Although filters are used primarily to filter records based on more
Expand Down