Versions in this module Expand all Collapse all v0 v0.1.0 Feb 10, 2026 Changes in this version + func Debug(ctx context.Context, msg string, args ...any) + func Error(ctx context.Context, msg string, args ...any) + func ErrorLevel(ctx context.Context, err error, level slog.Level) + func Errorf(ctx context.Context, msg string, args ...any) + func FromContext(ctx context.Context) *slog.Logger + func Info(ctx context.Context, msg string, args ...any) + func Log(ctx context.Context, level slog.Level, msg string, args ...any) + func LogAttrs(ctx context.Context, level slog.Level, msg string, attrs ...slog.Attr) + func NewContext(ctx context.Context, logger *slog.Logger) context.Context + func Warn(ctx context.Context, msg string, args ...any) + func With(ctx context.Context, args ...any) context.Context + func WithGroup(ctx context.Context, name string) context.Context + type ContextHandler struct + func NewContextHandler(inner slog.Handler, keys []ContextKey) *ContextHandler + func (h *ContextHandler) Enabled(ctx context.Context, level slog.Level) bool + func (h *ContextHandler) Handle(ctx context.Context, r slog.Record) error + func (h *ContextHandler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *ContextHandler) WithGroup(name string) slog.Handler + type ContextKey string