diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-09-21 11:25:39 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-09-21 11:25:39 (GMT) |
commit | c84f01698874902863396e82a248f5fd6ec59d0e (patch) | |
tree | ff6f8d60ab21f6aeb1d4ca5c35ba4555b5e697bf /Lib/test | |
parent | ceff5668864f319d05a781e8eef591b014ae2751 (diff) | |
download | cpython-c84f01698874902863396e82a248f5fd6ec59d0e.zip cpython-c84f01698874902863396e82a248f5fd6ec59d0e.tar.gz cpython-c84f01698874902863396e82a248f5fd6ec59d0e.tar.bz2 |
Added some methods to LoggerAdapter, and updated documentation.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
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) |