uber-go/zap
Blazing fast, structured, leveled logging in Go. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 49
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 276.0
- age_days: 3849
- days_rel: 128
- days_push: 8
- n_releases_24m: 3
Adoption not part of the score
24644 stars · 1549 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Zap is a fast, structured, leveled logging library for Go, developed by Uber. It offers a zero-allocation JSON encoder and two APIs: a high-performance strongly-typed Logger and a more convenient SugaredLogger.
Use cases
- add structured logging to a Go service
- log in performance-critical hot paths with minimal allocations
- emit JSON logs for production log aggregation
- replace logrus with a faster logging library
- log with levels and typed fields in Go
When to choose
- you need very fast, low-allocation structured logging in Go
- you want JSON output for log pipelines
- you need a mature, widely adopted logging library
When to avoid
- you want a simple human-readable logger with minimal setup
- your project targets Go versions outside the two most recent minors
Facets
library · maturity stable
logging serialization developer-tools backend go cross-platform structured-logging high-performance zero-allocation -encoder
5 sources
- readme: https://github.com/uber-go/zap · fetched 2026-08-28 · ea8b08d384ba
- homepage: https://pkg.go.dev/go.uber.org/zap · fetched 2026-08-29 · ffb425e5c2dd
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/about · fetched 2026-08-29 · 8b6453863a90
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| uber-go/zap | main | 82 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem