Update logging #2195
Annotations
10 errors
lint:
node_exporter.go#L221
cannot use logger (variable of type *slog.Logger) as "github.com/go-kit/log".Logger value in argument to web.ListenAndServe: *slog.Logger does not implement "github.com/go-kit/log".Logger (wrong type for method Log)
|
lint:
node_exporter.go#L222
cannot use err (variable of type error) as string value in argument to logger.Error (typecheck)
|
lint:
collector/cpu_linux_test.go#L38
undefined: log
|
lint:
collector/diskstats_linux_test.go#L320
undefined: log
|
lint:
collector/ethtool_linux_test.go#L373
undefined: log
|
lint:
collector/filesystem_linux_test.go#L85
undefined: log
|
lint:
collector/filesystem_linux_test.go#L114
undefined: log
|
lint:
collector/filesystem_linux_test.go#L142
undefined: log
|
lint:
collector/ipvs_linux_test.go#L116
undefined: log
|
lint:
collector/ipvs_linux_test.go#L184
undefined: log
|