Versions in this module Expand all Collapse all v1 v1.0.0 Oct 5, 2024 Changes in this version + const ColonDelimiter + const DefaultDelimiter + const LargeMessageSupport + const LevelAlert + const LevelCrit + const LevelDebug + const LevelError + const LevelInfo + const LevelNotice + const LevelWarn + type Handler struct + func NewHandler(opts *HandlerOptions) (*Handler, error) + func (h *Handler) Enabled(ctx context.Context, l slog.Level) bool + func (h *Handler) ExtendPrefix(s string) *Handler + func (h *Handler) Handle(ctx context.Context, r slog.Record) error + func (h *Handler) IgnoreAttrs(keys ...string) *Handler + func (h *Handler) WithAttrs(as []slog.Attr) slog.Handler + func (h *Handler) WithGroup(name string) slog.Handler + type HandlerOptions struct + Delimiter string + IgnoreAttrs []string + Level slog.Leveler + Prefix string + Socket string + TimeFormat string