Closed jobrachem closed 3 months ago
Small update to make the liesel default logger behave more like you would expect.
"liesel"
DEBUG
INFO
Now, you can simply update the logging level like this:
import logging logger = logging.getLogger("liesel") logger.setLevel(logging.DEBUG)
Before, our setup required that you changed the level on the handler, which is less obvious:
import logging logger = logging.getLogger("liesel") logger.handlers[0].setLevel(logging.DEBUG)
@GianmarcoCallegher would you do the review?
Looks good ❤️
Small update to make the liesel default logger behave more like you would expect.
"liesel"
logger fromDEBUG
toINFO
INFO
from the default handler for the liesel logger.Now, you can simply update the logging level like this:
Before, our setup required that you changed the level on the handler, which is less obvious: