From 4be3d3a7aed370671f9265018753cd71de67188f Mon Sep 17 00:00:00 2001 From: ccoVeille <3875889+ccoVeille@users.noreply.github.com> Date: Wed, 19 Nov 2025 17:24:09 +0100 Subject: [PATCH] fix: log depth for almost all log messages An issue will remain for direct calls to internal.Logger.Printf, as the call depth cannot be adjusted there without changing the function signature. --- internal/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/log.go b/internal/log.go index 0bfffc31..705665b1 100644 --- a/internal/log.go +++ b/internal/log.go @@ -19,7 +19,7 @@ type DefaultLogger struct { } func (l *DefaultLogger) Printf(ctx context.Context, format string, v ...interface{}) { - _ = l.log.Output(2, fmt.Sprintf(format, v...)) + _ = l.log.Output(4, fmt.Sprintf(format, v...)) } func NewDefaultLogger() Logging {