-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
logger
Extremely fast human and machine-readable logger for Go. This repository is a mirror. (by Elara6331)
My only issue with zerolog is that there has been no new releases in 5 years. Which means there are fairly serious/embarassing issues (e.g. https://github.com/rs/zerolog/issues/319) which have been fixed in master but still affect the "stable" v1.0.0 release... I have no idea why they don't cut a new release.
logrus has been my drop-in replacement for the built-in "log" module. I notice that:
Many fantastic alternatives have sprung up. Logrus would look like those, had it been re-designed with what we know about structured logging in Go today. Check out, for example, Zerolog, Zap, and Apex.
Many fantastic alternatives have sprung up. Logrus would look like those, had it been re-designed with what we know about structured logging in Go today. Check out, for example, Zerolog, Zap, and Apex.
I recommend https://github.com/go-logr/logr and you can choose implementation freely but zerolog/zap are optimized for speed.
Other than print and formatted print to stdout and stderr, what more do you need? I adapted much of the glog rationale into a logging wrapper. Allowing many thousands of unneeded lines from Logrus to be avoided. https://github.com/golang/glog
This may be helpful to you. https://github.com/learning-cloud-native-go/myapp/blob/master/util/logger/logger.go . However it's just a wrapper for https://github.com/rs/zerolog/blob/master/log/log.go .
I just uploaded it at https://gitea.arsenm.dev/Arsen6331/logger, with a mirror at https://github.com/Arsen6331/logger