Closed deanefrati closed 2 months ago
We better do it in tink3rlabs/libraries/golang/common
Came across https://pkg.go.dev/log/slog which is part of the standard library and seem to be simple with support for text or json... worth looking at to see if it's sufficient instead of bringing in another external dependency.
noted will look into this as well
I found out the discussion around the following logs to be the most "hot" in recent time:
zerolog - https://github.com/rs/zerolog logrus - https://github.com/sirupsen/logrus and last but not least, which is the newest addition - slog https://go.dev/blog/slog
Some additional comparisons I see in my history - https://betterstack.com/community/guides/logging/best-golang-logging-libraries/