Versions in this module Expand all Collapse all v1 v1.3.0 Oct 17, 2026 Changes in this version + type Handler struct + func NewHandler(w io.Writer, options ...Option) *Handler + func (h *Handler) Enabled(_ 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 Option func(*Handler) + func WithFunctionName(name string) Option + func WithFunctionVersion(version string) Option + func WithJSON() Option + func WithLevel(level slog.Leveler) Option + func WithSource() Option + func WithText() Option + func WithType(logType string) Option + func WithoutTime() Option