You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. Describe the solution you'd like
In order to use structured logging and add additional key/values, scorecard.Run() should take a logger interface (of it's own design) and use that for logging.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
In order to use structured logging and add additional key/values, scorecard.Run() should take a logger interface (of it's own design) and use that for logging.
I recommend something like this: https://pkg.go.dev/github.com/hashicorp/go-retryablehttp#LeveledLogger
That can be implemented by any number of popular loggers, then the calling program can decide what to log or configure the level of the underlying logger.
Describe alternatives you've considered
The logging level is good, but still logs in unstructured format
The text was updated successfully, but these errors were encountered: