uber-go/zap
Blazing fast, structured, leveled logging in Go.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
No releases in the last 90 days; the most recent was 181 days ago, with 143 contributors on GitHub.
Gained 37% fewer stars in the last 90 days than in the 90 days before.
Use Cases & Benefits
- Provides blazing fast, structured, leveled logging for Go applications with both type-safe and loosely typed APIs.
- Delivers high performance with reflection-free, zero-allocation JSON encoding, minimizing CPU overhead and memory allocations.
- Use for logging in high-throughput Go services where minimizing latency and memory usage is critical.
- Use for applications requiring structured, leveled logs to improve observability and debugging in production environments.
- Use for developers needing flexible logging APIs that balance speed and ease of use with type safety or printf-style formatting.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Blazing fast, structured, leveled logging in Go.
go get -u go.uber.org/zapNote that zap only supports the two most recent minor versions of Go.
In contexts where performance is nice, but not critical, use the
SugaredLogger. It's 4-10x faster than other structured logging packages and includes both structured andprintf-style APIs.When performance and type safety are critical, use the
Logger. It's even faster than theSugaredLoggerand allocates far less, but it only supports structured logging.See the documentation and FAQ for more details.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
1.6K+40
Open issues
202+12
Compared with peers in Observability
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| Asymptote-Labs/agent-beacon | 3.3K | +360 | 40 | today |
| openobserve/openobserve | 22.8K | +235 | 40 | today |
| cilium/cilium | 25.8K | +52 | 65 | 3 days ago |
| grafana/loki | 29.1K | +42 | 65 | 1 day ago |
| uber-go/zap | 24.7K | — | 55 | 181 days ago |
| Tracer-Cloud/opensre | 12.5K | — | 45 | today |
| Category median | 22.8K | +144 | 45 | — |
Also by uber-go
Other repositories from this maintainer that GStars tracks
Discover Repositories
Search across tracked repositories by name or description