diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2025-02-22 09:59:10 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2025-02-22 09:59:10 -0500 |
commit | f36f77472a82d6ebfac153aed6d17f154ae239a6 (patch) | |
tree | d749ecc2ebf86a39b15ac3026d3e100d0276442b /internal/logging | |
parent | 2cb9e5fe823391c09a99424138192d0fbec727af (diff) |
Good foundations
Diffstat (limited to 'internal/logging')
-rw-r--r-- | internal/logging/logging.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/logging/logging.go b/internal/logging/logging.go index 91a9734..53155a3 100644 --- a/internal/logging/logging.go +++ b/internal/logging/logging.go @@ -43,6 +43,7 @@ func Setup(lvlStr, fmtStr, outStr string) error { ) h = withTrackedContext(h, util.ReqIDKey, "request_id") + h = withTrackedContext(h, util.ProtoMethodKey, "proto_method") h = withStackTrace(h) slog.SetDefault(slog.New(h)) return errors.Join(outputErr, formatErr, levelErr) |