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

Remove hard dependency on logrus for logging #42

Merged
merged 1 commit into from
Jul 6, 2022

Commits on Jun 2, 2022

  1. Removes hard dependency on logrus for logging

    Provides backwards compatibility with existing logrus via SetLogger() method
    
    Introduces a Logger interface that others can implement for other
    structured loggers such as zerolog.
    
    Add SetLoggerFromLogger method that allows caller to pass in an implementation
    of the new Logger interface.
    
    Bumps the golang.org/x/sys dependency since tests fail to run on go 1.18 with the old version.
    
    adding a test case for LogrusLogger
    
    adding benchmark, add WithFields method because it's a lot faster apparently
    nathanejohnson committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    8c6aae6 View commit details
    Browse the repository at this point in the history