Versions in this module Expand all Collapse all v0 v0.1.1 Mar 2, 2024 Changes in this version + const ErrorKey + const StackTraceKey + func Err(err error) slog.Attr + func WrapError(err error) error + type Handler struct + func NewHandler(base slog.Handler, opts *HandlerOptions) *Handler + func (h *Handler) Enabled(ctx context.Context, level slog.Level) bool + func (h *Handler) Handle(ctx context.Context, r slog.Record) error + func (h *Handler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *Handler) WithGroup(name string) slog.Handler + type HandlerOptions struct + OverrideSource bool + StackTraceFormatter func(stack []uintptr) string + SuppressStackTrace bool + type StackTracer interface + Stack func() []uintptr v0.1.0 Mar 2, 2024