summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-09-21 11:25:39 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-09-21 11:25:39 (GMT)
commitc84f01698874902863396e82a248f5fd6ec59d0e (patch)
treeff6f8d60ab21f6aeb1d4ca5c35ba4555b5e697bf /Lib/test/test_logging.py
parentceff5668864f319d05a781e8eef591b014ae2751 (diff)
downloadcpython-c84f01698874902863396e82a248f5fd6ec59d0e.zip
cpython-c84f01698874902863396e82a248f5fd6ec59d0e.tar.gz
cpython-c84f01698874902863396e82a248f5fd6ec59d0e.tar.bz2
Added some methods to LoggerAdapter, and updated documentation.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r--Lib/test/test_logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 7506dba..c5d8bac 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -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)