Alternative review

log alternatives

Packages below are ranked as alternatives in the same category. The trigger for this review is limited recent repository activity.

8

Why review alternatives

log currently has a maintenance score of 8/100.

Latest repository activity: 6 years ago.

Known Go vulnerability records: 0.

Current package

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).

Go Logging Libraries 10 stars 0 imported-by 45% confidence
42

Ranked Alternatives

Go Logging Libraries

#1 Logrus

Package logrus is a structured logger for Go, completely API compatible with the standard library logger.

Go Logging Libraries 25.7K stars 240.0K imported-by 100% confidence
96

#2 slog-multi

🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...

Go Logging Libraries 624 stars 237 imported-by 100% confidence
95

#3 Zap

Package zap provides fast, structured, leveled logging.

Go Logging Libraries 24.5K stars 119.7K imported-by 100% confidence
95

#4 Zerolog

Package zerolog provides a lightweight logging library dedicated to JSON logging.

Go Logging Libraries 12.4K stars 30.5K imported-by 100% confidence
91

#5 log

A minimal, colorful Go logging library 🪵

Go Logging Libraries 3.3K stars 3.2K imported-by 95% confidence
90

#6 eris

Package eris provides a better way to handle, trace, and log errors in Go.

Go Logging Libraries 1.8K stars 1.2K imported-by 100% confidence
80

How to use this page

Treat alternatives as a shortlist. Check API compatibility, migration effort, project constraints, and your own threat model before replacing a dependency.