Versions in this module Expand all Collapse all v0 v0.8.1 Aug 7, 2026 v0.8.0 Aug 7, 2026 Changes in this version + func Debug(ctx context.Context, msg string, attrs ...slog.Attr) + func Error(ctx context.Context, msg string, attrs ...slog.Attr) + func Info(ctx context.Context, msg string, attrs ...slog.Attr) + func Init() + func Leveled(ctx context.Context, level slog.Level) context.Context + func Warn(ctx context.Context, msg string, attrs ...slog.Attr) + func With(ctx context.Context, l *slog.Logger) context.Context + func WithDefault(ctx context.Context) context.Context + func WithTB(ctx context.Context, tb testing.TB) context.Context + type LevelHandler struct + func NewLevelHandler(level slog.Leveler, h slog.Handler) *LevelHandler + func (h *LevelHandler) Enabled(_ context.Context, level slog.Level) bool + func (h *LevelHandler) Handle(ctx context.Context, r slog.Record) error + func (h *LevelHandler) Handler() slog.Handler + func (h *LevelHandler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *LevelHandler) WithGroup(name string) slog.Handler + type PrettyHandler struct + func NewPrettyHandler(h slog.Handler) *PrettyHandler + func (h *PrettyHandler) Enabled(ctx context.Context, level slog.Level) bool + func (h *PrettyHandler) Handle(ctx context.Context, r slog.Record) error + func (h *PrettyHandler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *PrettyHandler) WithGroup(name string) slog.Handler