<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Zap - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/zap/</link><description>Zap - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/zap/" rel="self" type="application/rss+xml"/><item><title>Golang 常用日志库</title><link>https://rd163.visword.com/posts/golang-log-libs/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/golang-log-libs/</guid><description><![CDATA[<p>日志是服务可观测性的基石。Go 生态中,日志库大致经历了「标准库 <code>log</code> → 第三方结构化日志库(<code>logrus</code>、<code>zap</code>、<code>zerolog</code>) → 标准库 <code>log/slog</code>」三个阶段。本文梳理几款在工程中常见的 Go 日志库,介绍其定位、特性与基础用法,便于在实际选型时参考。</p>]]></description></item></channel></rss>