Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger, SugaredLogger: Add Level method #1148

Merged
merged 1 commit into from Aug 30, 2022
Merged

Logger, SugaredLogger: Add Level method #1148

merged 1 commit into from Aug 30, 2022

Commits on Aug 24, 2022

  1. Logger, SugaredLogger: Add Level method

    Add a `Level() Level` method on Logger and SugaredLogger
    that reports the current minimum enabled log level for the logger.
    
    This relies on the zapcore.LevelOf function added in #1147.
    
    Resolves #1144
    abhinav committed Aug 24, 2022
    Copy the full SHA
    9cecbb8 View commit details
    Browse the repository at this point in the history