#1 Zap
Package zap provides fast, structured, leveled logging.
Compare go logging libraries by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include Zap, phuslu/log, Zerolog.
Highest combined package health score.
Strongest maintenance signal in this category.
Highest adoption signal from stars, forks, and imported-by data.
Package zap provides fast, structured, leveled logging.
Fastest structured logging
Package zerolog provides a lightweight logging library dedicated to JSON logging.
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
🔥 Error handling library with context, assertion, stack trace and source fragments
Package porter implements the Porter stemming algorithm.
Package eris provides a better way to handle, trace, and log errors in Go.
Topological sort lib,Sorting and pruning of DAG graphs.
Package log implements a simple structured logging API designed with few assumptions.
Package log provides a structured logger.
Fast, extendable, full-featured, std-lib source compatible log library.
Implementation of the porter stemming algorithm.
🚨 Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...
An O(1) logging system that allows you to connect one log to multiple writers (e.g. stdout, a file and a TCP connection).
| Package | Health | Maintenance | Adoption | Security | Imported by |
|---|---|---|---|---|---|
| Zap | 97 | 95 | 100 | 92 | 119.7K |
| phuslu/log | 91 | 83 | 100 | 92 | 343 |
| Zerolog | 91 | 83 | 100 | 92 | 30.5K |
| Logrus | 89 | 95 | 100 | 70 | 0 |
| log | 74 | 83 | 60 | 92 | 3.2K |
| oops | 74 | 90 | 43 | 92 | 332 |
| porter | 61 | 75 | 15 | 92 | 2 |
| eris | 61 | 48 | 60 | 92 | 1.2K |
| graphlib | 58 | 63 | 12 | 92 | 1 |
| log | 58 | 15 | 69 | 92 | 4.7K |
| log | 55 | 15 | 62 | 92 | 4.5K |
| gone/jconf | 53 | 15 | 44 | 92 | 0 |
| go-stem | 46 | 15 | 34 | 92 | 40 |
| slog-multi | 44 | 48 | 7 | 70 | 0 |
| log | 40 | 15 | 19 | 70 | 4 |
Compare health, maintenance, adoption, security, and release signals.
Compare health, maintenance, adoption, security, and release signals.
Compare health, maintenance, adoption, security, and release signals.
Compare health, maintenance, adoption, security, and release signals.
Compare health, maintenance, adoption, security, and release signals.
Compare health, maintenance, adoption, security, and release signals.