<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>JSONHandler on Tony Bai</title><link>https://tonybai.com/tags/jsonhandler/</link><description>Recent content in JSONHandler on Tony Bai</description><generator>Hugo</generator><language>zh-cn</language><copyright>2004-2026 Tony Bai. 版权所有.</copyright><lastBuildDate>Mon, 04 Sep 2023 00:00:00 +0800</lastBuildDate><atom:link href="https://tonybai.com/tags/jsonhandler/index.xml" rel="self" type="application/rss+xml"/><item><title>slog实战：文件日志、轮转与kafka集成</title><link>https://tonybai.com/2023/09/04/slog-in-action-file-logging-rotation-and-kafka-integration/</link><pubDate>Mon, 04 Sep 2023 00:00:00 +0800</pubDate><guid>https://tonybai.com/2023/09/04/slog-in-action-file-logging-rotation-and-kafka-integration/</guid><description>本文永久链接 – https://tonybai.com/2023/09/04/slog-in-action-file-logging-rotation-and-kafka-integration 《slog正式版来了：Go日志记录新选择！》一文发布后，收到了很多读者的反馈，意见集中在以下几点： * 基于slog如何将日志写入文件 * slog是否支持log轮转(rotation)，如果slog不...</description></item><item><title>slog正式版来了：Go日志记录新选择！</title><link>https://tonybai.com/2023/09/01/slog-a-new-choice-for-logging-in-go/</link><pubDate>Fri, 01 Sep 2023 00:00:00 +0800</pubDate><guid>https://tonybai.com/2023/09/01/slog-a-new-choice-for-logging-in-go/</guid><description>本文永久链接 – https://tonybai.com/2023/09/01/slog-a-new-choice-for-logging-in-go 在大约一年前，我就写下了《slog：Go官方版结构化日志包》一文，文中介绍了Go团队正在设计并计划在下一个Go版本中落地的Go官方结构化日志包：slog。但slog并未如预期在Go 1.20版本中落地，而是在golang.org/x/exp/slo...</description></item></channel></rss>