From f36f77472a82d6ebfac153aed6d17f154ae239a6 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 22 Feb 2025 09:59:10 -0500 Subject: Good foundations --- internal/logging/logging.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/logging') 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) -- cgit v1.2.3