mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Added some methods to LoggerAdapter, and updated documentation.
This commit is contained in:
parent
ceff566886
commit
c84f016988
5 changed files with 32 additions and 9 deletions
|
@ -154,7 +154,7 @@ class BuiltinLevelsTest(BaseTest):
|
|||
|
||||
ERR = logging.getLogger("ERR")
|
||||
ERR.setLevel(logging.ERROR)
|
||||
INF = logging.getLogger("INF")
|
||||
INF = logging.LoggerAdapter(logging.getLogger("INF"), {})
|
||||
INF.setLevel(logging.INFO)
|
||||
DEB = logging.getLogger("DEB")
|
||||
DEB.setLevel(logging.DEBUG)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue