uber-go/zap
View on GitHub ↗ ★ 24,684 Go
Blazing fast, structured, leveled logging in Go.
11 mentions on Hacker News by 11 people: 3 stories, 8 comments · first 2016-05-25 · latest 2026-07-16
20082026
-
…them. Great public examples: the Go standard library, https://github.com/spf13/viper , https://github.com/uber-go/zap . Viper and zap combined are more than 20,000 lines of code (according to cloc) that I don't need to read or understand…
comment by solatic · 2026-07-16 · in The Tower Keeps Rising -
…as the support for relative directories 2. Yes, Will integrate a logging library instead of fmt ( https://github.com/uber-go/zap )
comment by stym06 · 2024-07-09 · in Show HN: WAL Implementation in Golang -
…fair benchmark would be just scalar types, and zap & slog optimizations there look pretty similar. https://github.com/uber-go/zap/blob/fd37f1f613a87773fc30f719... https://github.com/uber-go/zap/blob/fd37f1f613a87773fc30f719...
comment by yencabulator · 2023-08-23 · in Structured logging with slog -
…time.Second), ) They also have zap.Error(err) which generates the "error" key as a convention. [1] https://github.com/uber-go/zap
comment by jupp0r · 2023-08-22 · in Structured logging with slog -
…inconsistent logging practices, and creates a logger dependency throughout most of our Go code. [0] https://github.com/uber-go/zap
comment by nwsm · 2023-08-22 · in Structured logging with slog -
…zap[0] to get structured JSON logging for downstream parsing. Wonder how the perf stacks up. [0]: https://github.com/uber-go/zap
comment by kusha · 2023-08-22 · in Structured logging with slog -
…to fix that little cross-platform bug. [1]: https://github.com/mrusme/superhighway84/issues/13 [2]: https://github.com/uber-go/zap/issues/621 [3]: https://github.com/uber-go
comment by ntauthority · 2021-12-28 · in Superhighway84 – a Usenet-inspired decentralized internet discussion system -
…converting form encoded data to go structs I use github.com/gorilla/schema, for logging I use zap https://github.com/uber-go/zap . For managing roles in an app I use either the voter pattern https://symfony.com/doc/current/security/voters.h…
comment by nostalgeek · 2018-07-14 · in Ask HN: What is the current state of web frameworks in Golang?