diff --git a/internal/logging/logging.go b/internal/logging/logging.go index 2fca0457f..90cccc0cd 100644 --- a/internal/logging/logging.go +++ b/internal/logging/logging.go @@ -97,6 +97,7 @@ type LoggerSetterGetter interface { type LogHolder struct { // logger is an atomic.Pointer[slog.Logger] to store the slog.Logger + // We use atomic.Pointer for thread safety logger atomic.Pointer[slog.Logger] }