Post
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-...
github.comGitHub - samber/slog-logrus: 🚨 slog: Logrus handler🚨 slog: Logrus handler. Contribute to samber/slog-logrus development by creating an account on GitHub.
No replies yet.