Re:Choosing Go at American Express
by aaomidi on Wednesday January 03, 2024 @09:47PM
(#38862431)
This is nice but it’s not a simple library to use and I think that’s going to hurt it.
[ Parent
| on HN ]
Re:Choosing Go at American Express
by i_am_programmer on Thursday January 04, 2024 @04:00AM
(#38864737)
It'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)
It’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.