Open metalmatze opened 2 years ago
As a library, I prefer that we have a logging hook that is compatible with the stdlib logger.
Makes sense. My only concern with these is that they aren't structured, but don't have that strong of an opinion either.
There's now https://pkg.go.dev/golang.org/x/exp/slog, which is supposed to be in 1.21 stdlib.
This would fit the rest of the Prometheus ecosystem better