Awesome Go
Choose a package

zerolog

github.com/rs/zerolog

Structured JSON logging through a fluent API

Reviewed 2026-09-30 · Package source

Recorded facts

Metadata fetched: 2026-09-30T18:11:16.569Z · Freshness: current. This is a dated snapshot; check the linked sources before adopting a package.

Version
v1.35.1
Minimum Go version
1.23
Licenses
MIT
Import path
github.com/rs/zerolog
Capabilities
structured-logging, json
Dependencies recorded
6

Vulnerability evidence

Status: checked. Checked: 2026-09-30T18:11:16.569Z.

No advisories reported by this check.

Version advisories do not establish whether a vulnerability is reachable in your application.

Vulnerability source

Tradeoffs

  • Its chained logging API differs from the standard slog API.

Install and import

go get github.com/rs/[email protected]

import "github.com/rs/zerolog"

Authored example

No authored example is available for this package. Example verification is unknown.

Read this profile as JSON · Use the API or MCP