fxjson
V2EX  ›  问与答

go web 之如何添加 trace id

  •  
  •   fxjson · May 1, 2021 via Android · 1259 views
    This topic created in 1907 days ago, the information mentioned may be changed or developed.
    用 go 开发 web 的小伙伴们在日志里面怎么加 traceid 呢,方便根据 id 过滤当次的所有日志,求支招,又不想到处方法里面都加个 context 参数
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5508 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 08:11 · PVG 16:11 · LAX 01:11 · JFK 04:11
    ♥ Do have faith in what you're doing.