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

zapcore: add warning as Level #1429

Merged
merged 3 commits into from
Jun 6, 2024
Merged

Commits on Apr 11, 2024

  1. zapcore: add warning as Level

    Some packages set their value for WarnLevel to "warning". For easier integration
    add "warning" as accepted WarnLevel.
    
    Example for a package that is using "warning":
    https://github.com/sirupsen/logrus/blob/dd1b4c2e81afc5c255f216a722b012ed26be57df/logrus.go#L68
    
    Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
    florianl committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3aefb87 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. move warning to dedicated unmarshal test

    Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
    florianl committed May 13, 2024
    Configuration menu
    Copy the full SHA
    126ea63 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. fixup: apply gofumpt

    Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
    florianl committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    cb50e12 View commit details
    Browse the repository at this point in the history