I have recently switched from using 'logging' to 'logbook'.
So far, so good, but I am missing one critical functionality - ability to change the minimum level during runtime.
In 'logging', I can call myLogger.setLevel(logging.INFO), but there is no equivalent method in logbook.
Anyone?
Very simple (and undocumented) - modify the 'level' attribute:
myLogger.level = logbook.INFO
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With