mirror of
https://github.com/prometheus-community/windows_exporter
synced 2024-12-17 20:14:33 +00:00
chore: use slog instead gokit for logging style (#1737)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
parent
7a9a4e5831
commit
a4ec0a96f1
@ -63,7 +63,7 @@ func New(config *Config) (*slog.Logger, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
config.Config.Writer = config.File.w
|
config.Config.Writer = config.File.w
|
||||||
config.Config.Style = promslog.GoKitStyle
|
config.Config.Style = promslog.SlogStyle
|
||||||
|
|
||||||
return promslog.New(config.Config), nil
|
return promslog.New(config.Config), nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user