diff --git a/logger/slog/slog.go b/logger/slog/slog.go index 176efcc5..2c0ac7c3 100644 --- a/logger/slog/slog.go +++ b/logger/slog/slog.go @@ -140,7 +140,7 @@ func (s *slogLogger) Fields(attrs ...interface{}) logger.Logger { handleOpt := &slog.HandlerOptions{ ReplaceAttr: nl.renameAttr, - Level: s.leveler, + Level: nl.leveler, AddSource: true, }