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
The bulk of this change set was automated by the following script which
is being used to aid in converting the various exporters/projects to use
slog:
https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434
In addition to the parts that were straightforward conversions, this
also:
- refactors much of the logging config to adopt slog
- removed custom `logger.go` setup for go-kit
- adopt promslog/flag and use that to handle parsing log
level/format flags
- for consistent behavior, keep log output flag to allow toggle
stdout/stderr for output
- adopt promslog for logger setup
- enables sloglint in golangci-lint config
- drops go-kit/log exclusions from lint config
- tidies mods to drop go-kit/log and go-logfmt/logfmt deps
Signed-off-by: TJ Hoplock <[email protected]>
* ci: update deprecated golangci-lint config
Fixes:
```
WARN [config_reader] The configuration option `linters.errcheck.exclude` is deprecated, please use `linters.errcheck.exclude-functions`.
```
Signed-off-by: TJ Hoplock <[email protected]>
---------
Signed-off-by: TJ Hoplock <[email protected]>
0 commit comments