Skip to content
Advertisement

Tag: loguru

How to set a minimal logging level with loguru?

I would like to use a different logging level in development and production. To do so, I need early in my program to set the minimal level for logs to be triggered. The default is to output all severities: There is a Changing the level of an existing handler section in the documentation, that states among others that Once a

Advertisement