Added some methods to LoggerAdapter, and updated documentation.

This commit is contained in:
Vinay Sajip 2010-09-21 11:25:39 +00:00
parent ceff566886
commit c84f016988
5 changed files with 32 additions and 9 deletions

View file

@ -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)