mirror of
https://github.com/go-gost/x.git
synced 2026-10-19 16:16:32 +00:00
slog.Logger.With does not deduplicate keys, so chained WithFields calls (e.g. service -> listener/handler, each setting "kind") emitted duplicate JSON keys. slogLogger now rebuilds from a pristine base logger with accumulated attrs deduplicated by key, last write wins.