Zerolog
Zerolog, commonly written zerolog, is an open-source, high-performance structured logging library for the Go programming language. It is designed to minimize runtime overhead and to produce machine-parsable logs by default. The library emits structured events in JSON by default, enabling easy ingestion by log analytics systems, while also offering a ConsoleWriter for human-readable output during development.
Zerolog provides a fluent, chainable API for building log events. It supports multiple log levels (Debug, Info,
Output destinations can be configured using Output to an io.Writer, and the library includes ConsoleWriter to
The project is open-source and released under the MIT license. It is widely used in Go projects