[issue19455] LoggerAdapter class lacks documented "setLevel" method

Eric Hanchrow report at bugs.python.org
Thu Oct 31 00:41:14 CET 2013


Eric Hanchrow added the comment:

I should have been clearer: the problem is that the docs (http://docs.python.org/2/library/logging.html#logging.LoggerAdapter) say 

In addition to the above, LoggerAdapter supports the following methods of Logger, i.e. debug(), info(), warning(), error(), exception(), critical(), log(), isEnabledFor(), getEffectiveLevel(), setLevel(), hasHandlers(). 

So the code and the docs disagree.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19455>
_______________________________________


More information about the Python-bugs-list mailing list