pro-bing icon indicating copy to clipboard operation
pro-bing copied to clipboard

Use go-kit/log for logging

Open metalmatze opened this issue 3 years ago • 3 comments

This would fit the rest of the Prometheus ecosystem better

metalmatze avatar Jun 17 '22 12:06 metalmatze

As a library, I prefer that we have a logging hook that is compatible with the stdlib logger.

SuperQ avatar Jun 20 '22 11:06 SuperQ

Makes sense. My only concern with these is that they aren't structured, but don't have that strong of an opinion either.

metalmatze avatar Jun 20 '22 14:06 metalmatze

There's now https://pkg.go.dev/golang.org/x/exp/slog, which is supposed to be in 1.21 stdlib.

SuperQ avatar May 21 '23 08:05 SuperQ