feat: new promslog and promslog/flag packages to wrap log/slog #1140
Annotations
10 errors
lint:
promslog/slog.go#L149
Error return value of `config.Level.Set` is not checked (errcheck)
|
lint:
promslog/slog_test.go#L136
Error return value of `config.Level.Set` is not checked (errcheck)
|
lint:
promslog/slog_test.go#L150
Error return value of `config.Level.Set` is not checked (errcheck)
|
lint:
promslog/slog.go#L140
field `logHandlerOpts` is unused (unused)
|
lint:
promslog/slog_test.go#L83
type `handler` is unused (unused)
|
lint:
promslog/slog_test.go#L89
func `(*handler).Enabled` is unused (unused)
|
lint:
promslog/slog_test.go#L93
func `(*handler).WithAttrs` is unused (unused)
|
lint:
promslog/slog_test.go#L97
func `(*handler).WithGroup` is unused (unused)
|
lint:
promslog/slog_test.go#L101
func `(*handler).Handle` is unused (unused)
|
lint:
promlog/flag/flag.go#L21
SA1019: "github.com/prometheus/common/promlog" is deprecated: This package has been replaced with github.com/prometheus/common/promslog. (staticcheck)
|