The fact that every logging package has different function signatures makes me wanna CRY ;( #golang
0 reposts0 likes
The fact that every logging package has different function signatures makes me wanna CRY ;( #golang
0 reposts0 likes
Yeah, this is kind of what slog is meant to solve. You can create a logrus handler that implements slog.Handler if you want to keep using logrus backend. Or use a pre-existing package: github.com/samber/slog-...