Wed, 18 Nov 2026 21:35:17 UTC Log in
Blazing fast, structured, leveled logging in Go 286.18 KB built 2026-10-14 09:21:54 GMT

Description

Package Zap provides fast, structured, leveled logging. For applications that log in the hot path, reflection-based serialization and string formatting are prohibitively expensive - they're CPU-intensive and make many small allocations. Put differently, using json.Marshal and fmt.Fprintf to log tons of interface{} makes your application slow. Zap takes a different approach. It includes a reflection-free, zero-allocation JSON encoder, and the base Logger strives to avoid serialization overhead and allocations wherever possible. By building the high-level SugaredLogger on that foundation, zap lets users choose when they need to count every allocation and when they'd prefer a more familiar, loosely typed API.

Dependencies

10 total
Requires9
  • go-rpm-macros
  • golang(github.com/stretchr/testify/assert)
  • golang(github.com/stretchr/testify/require)
  • golang(go.uber.org/goleak)
  • golang(go.uber.org/multierr)
  • golang(gopkg.in/yaml.v3)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • golang-uber-zap-devel = 1.27.0-7.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots