commit | c84f01698874902863396e82a248f5fd6ec59d0e | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Tue Sep 21 11:25:39 2010 +0000 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Tue Sep 21 11:25:39 2010 +0000 |
tree | ff6f8d60ab21f6aeb1d4ca5c35ba4555b5e697bf | |
parent | ceff5668864f319d05a781e8eef591b014ae2751 [diff] [blame] |
Added some methods to LoggerAdapter, and updated documentation.
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 @@ 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)