Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You may rejoice on the logging front: https://go.dev/blog/slog


This is nice but it’s not a simple library to use and I think that’s going to hurt it.


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.


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)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: