Use slog from golang's new stdlib instead of zap #60
Closed
kishaningithub
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Hi Thanks for the heads up! I like the idea of using |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi @kishaningithub just wanted to let you know that I have just replaced zap with slog in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
slog (Structured LOGging) is now getting built right into golang (release targeted for 1.21). The API as such is inspired by zap to the transition should be straight forward.
Pros
The implementation is currently available at https://pkg.go.dev/golang.org/x/exp/slog
More info
Beta Was this translation helpful? Give feedback.
All reactions