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

Simplified logging middleware; Fields are now "any" type; Moved logging providers to examples only. #552

Merged
merged 1 commit into from
Mar 30, 2023

Commits on Mar 30, 2023

  1. Simplified logging middleware; Fields are now "any" type; Moved loggi…

    …ng providers to examples only.
    
    Fixes #517
    
    * Simpler interface, only one method. This allows adapter to be ultra simple, so moved them to examples only (!).
    * Fields are string, values are any.
    * "More" slog compatibility.
    
    I did not go for using slog natively as it's still experimental (see bigger discussion: https://gophers.slack.com/archives/C029RQSEE/p1679860885943619)
    
    Signed-off-by: bwplotka <bwplotka@gmail.com>
    bwplotka committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    4402c19 View commit details
    Browse the repository at this point in the history