alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: golang-go.uber-zap  ]

Paket: golang-go.uber-zap-dev (1.15.0-2)

Länkar för golang-go.uber-zap-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-go.uber-zap:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Andra paket besläktade med golang-go.uber-zap-dev

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta golang-go.uber-zap-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 90,6 kbyte591,0 kbyte [filförteckning]