You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
happy new user of coloredlogs for its out of the box nice feature.
please consider this use case:
In [1]: import coloredlogs
In [2]: import logging
In [3]: logger = logging.getLogger()
In [4]: coloredlogs.install()
In [5]: logger.setLevel(logging.DEBUG)
In [6]: logger.debug('foo')
In [7]:
I find it a bit counter intuitive. Naively I'd have expected to see my "foo" debug call.
All would be good if coloredlogs wouldn't set the level on the actual handler but only on the root logger (or the explicitly passed one otherwise)..
wdyt ?
thx.
The text was updated successfully, but these errors were encountered:
Hi,
happy new user of coloredlogs for its out of the box nice feature.
please consider this use case:
I find it a bit counter intuitive. Naively I'd have expected to see my "foo" debug call.
All would be good if
coloredlogs
wouldn't set the level on the actual handler but only on the root logger (or the explicitly passed one otherwise)..wdyt ?
thx.
The text was updated successfully, but these errors were encountered: