mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-41898: add caveat on root logger seeing all messages in assertLogs doc (GH-22526)
This commit is contained in:
parent
e799aa8b92
commit
1ed5443526
1 changed files with 2 additions and 1 deletions
|
|
@ -1091,7 +1091,8 @@ Test cases
|
|||
|
||||
If given, *logger* should be a :class:`logging.Logger` object or a
|
||||
:class:`str` giving the name of a logger. The default is the root
|
||||
logger, which will catch all messages.
|
||||
logger, which will catch all messages that were not blocked by a
|
||||
non-propagating descendent logger.
|
||||
|
||||
If given, *level* should be either a numeric logging level or
|
||||
its string equivalent (for example either ``"ERROR"`` or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue