rs/zerolog
Zero Allocation JSON Logger observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3400
- days_rel: n/a
- days_push: 9
- n_releases_24m: 0
Adoption not part of the score
12494 stars · 633 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Zerolog is a fast, zero-allocation JSON structured logging library for Go with a chained, context-aware API. It supports leveled logging, sampling, hooks, CBOR encoding, and integrations with net/http and log/slog.
Use cases
- add structured JSON logging to a Go service
- log with minimal allocation overhead in hot paths
- attach contextual fields to log events
- integrate logging with net/http request handling
- migrate Go logging to log/slog with a fast backend
- pretty-print logs during local development
When to choose
- you need high-performance structured logging in Go
- you want JSON or CBOR log output with low garbage collection pressure
- you need leveled, contextual, and sampled logging with a simple API
When to avoid
- you need human-readable console logs as the primary format in production
- you need a logging backend outside the Go ecosystem
- you require extensive built-in log shipping or aggregation features
Facets
library · maturity stable
logging serialization developer-tools backend performance go cross-platform structured-logging -logging zero-allocation high-performance
1 source
- readme: https://github.com/rs/zerolog · fetched 2026-08-28 · 368a1060a22d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rs/zerolog | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem