Guido van Rossum added the comment:

I really want to log the time every time if level == DEBUG and only if > 1 sec 
for other levels, so maybe all you need to do is remove the comment? :-)  (Or 
maybe logger.isEnabledFor(logging.INFO) is faster than logger.log() when 
nothing gets logged?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20275>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to