log
An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
Packages below are ranked as alternatives in the same category. The trigger for this review is limited recent repository activity.
log currently has a maintenance score of 15/100.
Latest repository activity: 6 years ago.
Known Go vulnerability records: 0.
An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
Package zerolog provides a lightweight logging library dedicated to JSON logging.
Package zap provides fast, structured, leveled logging.
Package logger defines the structured logging interface and a global default logger that components use when no explicit logger is configured.
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
Fastest structured logging
Treat alternatives as a shortlist. Check API compatibility, migration effort, project constraints, and your own threat model before replacing a dependency.