Versions in this module Expand all Collapse all v0 v0.1.0 Jan 12, 2026 Changes in this version + type Handler struct + func NewHandler(writer io.Writer, options ...Option) *Handler + func (h *Handler) Enabled(ctx context.Context, level slog.Level) bool + func (h *Handler) Handle(ctx context.Context, record slog.Record) error + func (h *Handler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *Handler) WithGroup(name string) slog.Handler + type LogLevelFunc func(ctx context.Context, level slog.Level) bool + type Option func(*handlerOptions) + func WithLogLevel(minLevel slog.Level) Option + func WithLogLevelFunc(logLevelF LogLevelFunc) Option + func WithSource(addSource bool) Option + func WithTimestamp(showTimestamp bool) Option