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

logr v1.4.1 + SetSlogLogger #396

Merged
merged 3 commits into from
Jan 10, 2024
Merged

Commits on Jan 3, 2024

  1. dependencies: logr v1.4.1

    This moves slog support into the main package. Go >1.18 is needed for generic
    type parameters.
    pohly committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    39afdba View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. add SetSlogLogger

    This is syntactic sugar, but it's still useful because it hides logr from
    developers who only care about klog and slog.
    pohly committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    5d1d2d5 View commit details
    Browse the repository at this point in the history
  2. slog: use main logr package instead of logr/slogr

    logr v1.4.0 moved the slog support functions in the main package and deprecated
    slogr.
    pohly committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    e4deee8 View commit details
    Browse the repository at this point in the history