Alternative review

log alternatives

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

15

Why review alternatives

log currently has a maintenance score of 15/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 0 stars 4 imported-by 70% confidence
40

Ranked Alternatives

Go Logging Libraries

#1 Zap

Package zap provides fast, structured, leveled logging.

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

#2 phuslu/log

Fastest structured logging

Go Logging Libraries 859 stars 343 imported-by 100% confidence
91

#3 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

#4 Logrus

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

Go Logging Libraries 25.7K stars 0 imported-by 65% confidence
89

#5 log

Go Logging Libraries 0 stars 3.2K imported-by 75% confidence
74

#6 oops

🔥 Error handling library with context, assertion, stack trace and source fragments

Go Logging Libraries 0 stars 332 imported-by 75% confidence
74

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.