go logrus输出trace_id
摘要:
go get github.com/google/uuid go get github.com/sirupsen/logrus 方式1:非并发场景使用hook package main import ( "github.com/sirupsen/logrus" ) type TraceIdHook 阅读全文
posted @ 2025-01-28 15:00 王景迁 阅读(48) 评论(0) 推荐(0)