Tag

zap

0 views collected around this technical thread.

Go Programming World
Go Programming World
Apr 30, 2024 · Backend Development

A Comprehensive Guide to Using Uber's Zap Logging Library in Go

This article introduces Uber's open‑source Zap library for Go, explains its high‑performance, structured, leveled logging features, demonstrates basic and advanced usage with code examples, compares production and development configurations, shows how to use SugaredLogger, customize loggers, apply options, and integrate the library into custom logging packages.

ConfigurationGoSugaredLogger
0 likes · 19 min read
A Comprehensive Guide to Using Uber's Zap Logging Library in Go
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 21, 2023 · Backend Development

LAW: Log Asynchronous Writer – A Go Library for Asynchronous Logging Across Multiple Loggers

The article introduces LAW (Log Asynchronous Writer), a Go library that enables asynchronous log output for popular logging frameworks such as zap, logrus, klog, and zerolog, explains its design and implementation, provides performance benchmarks, and offers usage examples with complete code samples.

AsynchronousConcurrencyGo
0 likes · 12 min read
LAW: Log Asynchronous Writer – A Go Library for Asynchronous Logging Across Multiple Loggers
Meitu Technology
Meitu Technology
Aug 15, 2018 · Backend Development

Design and Performance Analysis of the Zap Logging Library in Go

The article examines Uber’s high‑throughput Go logging library zap, detailing its structured‑logging design, separation of concerns, copy‑on‑write filtering, extensive sync.Pool object reuse, reflection‑free type‑specific encoding, dynamic HTTP level control, and supplemental features such as a sugar API and log‑rotation, which together deliver superior performance over traditional libraries.

ConcurrencyGoObject pool
0 likes · 18 min read
Design and Performance Analysis of the Zap Logging Library in Go
High Availability Architecture
High Availability Architecture
Aug 15, 2018 · Backend Development

Deep Dive into Uber's zap: Architecture, High‑Performance Design, and Lessons for Building Go Logging Libraries

This article analyzes Uber's open‑source Go logging library zap, explaining its architectural trade‑offs, performance‑boosting techniques such as object pooling, reflection avoidance, and write‑time copying, and offers practical guidance for developers who want to build high‑performance logging components in Go.

BackendGologging
0 likes · 18 min read
Deep Dive into Uber's zap: Architecture, High‑Performance Design, and Lessons for Building Go Logging Libraries