zap
Zap is a structured and level journaling library developed for the Go language. It is designed for performance-oriented applications with its non-reflection structure and low memory allocation. It offers flexible or type-safe API options as needed.
ZA
zap
92uber-go · Log Management
STARS24.7K
FORKS1.6K
COMMITS716
CONTRIBUTORS141
VERSIONv1.28.0
UPDATED1 mo ago
GoLoggingPerformanceJSONMIT
Common commercial products in this category: Splunk, Datadog Logs, Sumo Logic
What can it do?
- With SugaredLogger, you can log with printf style or loose-type key-value pairs.
- With the Logger interface, you can create structured logs in situations that require high performance and type-safe.
- Thanks to the non-reflective JSON encoder, you can reduce memory allocation and processor load across the application.
Verified against README · Oct 26, 2026 · source