Documentation ¶ Index ¶ func New(next slog.Handler) slog.Handler type Handler func (handler *Handler) Enabled(ctx context.Context, level slog.Level) bool func (handler *Handler) Handle(ctx context.Context, record slog.Record) error func (handler *Handler) WithAttrs(attrs []slog.Attr) slog.Handler func (handler *Handler) WithGroup(name string) slog.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(next slog.Handler) slog.Handler Types ¶ type Handler ¶ type Handler struct { Next slog.Handler // contains filtered or unexported fields } func (*Handler) Enabled ¶ func (handler *Handler) Enabled(ctx context.Context, level slog.Level) bool func (*Handler) Handle ¶ func (handler *Handler) Handle(ctx context.Context, record slog.Record) error func (*Handler) WithAttrs ¶ func (handler *Handler) WithAttrs(attrs []slog.Attr) slog.Handler func (*Handler) WithGroup ¶ func (handler *Handler) WithGroup(name string) slog.Handler Source Files ¶ View all Source files handler.go Directories ¶ Show internal Expand all Path Synopsis tree Click to show internal directories. Click to hide internal directories.