Package: wnpp Severity: wishlist Owner: ghost <i...@ghosts.work> Control: block 986154 by -1 X-Debbugs-CC: debian-de...@lists.debian.org, debian...@lists.debian.org
* Package name : zap Version : 1.16.0-1 Upstream Author : Uber Go * URL : https://github.com/uber-go/zap * License : Expat Programming Lang: Go Description : Blazing fast, structured, leveled logging in Go. Build Blazing fast, structured, leveled logging in Go. . Performance . 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 encoding/json and fmt.Fprintf to log tons of interface{}s 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. . Note that zap only supports the two most recent minor versions of Go.