3 ms·
You may rejoice on the logging front: https://go.dev/blog/slog https://go.dev/blog/slog
by liampulles 3y ago
You may rejoice on the logging front: https://go.dev/blog/slog https://go.dev/blog/slog
- aaomidi 3y agoThis is nice but it’s not a simple library to use and I think that’s going to hurt it.
- i_am_programmer 3y agoIt's as easy to use as other 3rd party logging libs. I frequently make use and it's as easy as slog.Info("text", "field", value, "field", value)
- jen20 3y agoIt’s very simple to use, but dilly-dallying about a standard structured logging package means it’s now not widespread across third party libraries. Many non-trivial Go apps have 4-5 logging frameworks pulled in, it’s a mess.