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
{{ message }}
Repository navigation
Independent logger objects with different log levels #119
I want to use this library for a small project where I have two modules. I want to control the logging (primarily the log level) independently and on the fly for the two modules.
Is it possible to get multiple logger objects which are independent?
Activity
baryon commentedon Jun 13, 2020
setLevel method dynamically change the log level. It is a global settings, affect all output that are created via tracer.
a solution that write a config file, like:
then use it in module1 and module2
vineyyadav commentedon Jun 19, 2020
I tried it, but does not really help. When changing the log level for one module, it impacted the log level for the other one too.