all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: golang-go.uber-zap  ]

Package: golang-go.uber-zap-dev (1.23.0-1)

Links for golang-go.uber-zap-dev

Screenshot

Debian Resources:

Download Source Package golang-go.uber-zap:

Maintainers:

External Resources:

Similar packages:

Blazing fast, structured, leveled logging in Go

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.

Other Packages Related to golang-go.uber-zap-dev

  • depends
  • recommends
  • suggests
  • enhances

Download golang-go.uber-zap-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 110.8 kB721.0 kB [list of files]