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
Is your feature request related to a problem? Please describe.
I am writing an application that overall should have a user specified log level, ie INFO.
But they can overwrite the log level for certain "actions" that would be handled on a case by case basis.
Since we are unable to change the log level of a cloned logger, I am instantiating a new logger set to the DEBUG level.
Currently, this new logger does not have the inherited name for the existing logger.
I would like a function such as zapLog.GetName() that would return a string of the current log name that I can then pass on to the new logger.
Is this a breaking change?
I do not believe this would be a breaking change as it would add a function to the current interface.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am writing an application that overall should have a user specified log level, ie INFO.
But they can overwrite the log level for certain "actions" that would be handled on a case by case basis.
Since we are unable to change the log level of a cloned logger, I am instantiating a new logger set to the DEBUG level.
Currently, this new logger does not have the inherited name for the existing logger.
I would like a function such as
zapLog.GetName()
that would return a string of the current log name that I can then pass on to the new logger.Is this a breaking change?
I do not believe this would be a breaking change as it would add a function to the current interface.
The text was updated successfully, but these errors were encountered: