Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2023 (4)
20082026
  1. …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
  2. …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
  3. …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
  4. …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
  5. …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
  6. …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
  7. …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
  8. …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…
  9. ▲ 1
    Uber Zap: Blazing fast, structured, leveled logging in Go
    story by setra · 2018-04-02 · 0 comments
  10. ▲ 3
    Zap: Fast, structured, leveled logging in Go
    story by tilt · 2016-09-28 · 0 comments
  11. ▲ 4
    Structured, leveled logging for Go with 0 allocs per call
    story by jaytaylor · 2016-05-25 · 0 comments