Posted in Go语言基础和工具链Go日志上下文传递失效全景图(context.WithValue vs. zap.With() vs. custom logger wrapper) 第一章:Go日志上下文传递失效全 … Go日志上下文传递失效全景图(context.WithValue vs. zap.With() vs. custom logger wrapper)Read more by Go语言狂热者|2026年4月12日|Go日志最佳实践, Go日志上下文传递, zap.WithCaller, context.WithValueRef, 自定义日志封装器
Posted in Go语言基础和工具链Go日志上下文传递的3种模式:context.WithValue vs log/slog.WithGroup vs OpenTelemetry propagation(实测延迟差异达17ms) 第一章:Go日志上下文传递的3种 … Go日志上下文传递的3种模式:context.WithValue vs log/slog.WithGroup vs OpenTelemetry propagation(实测延迟差异达17ms)Read more by Go语言笔记|2026年2月11日|Go日志性能优化, context.WithValue, Go日志上下文传递, log/slog.WithGroup, OpenTelemetry传播