Skip to content

Leveler Interface

The Options.Level field would be better as a slog.Leveler to allow it to change dynamically using a slog.LevelVar. This would not break backwards compatibility, as slog.Level already implements Leveler. This also matches the slog.HandlerOptions struct.