Versions in this module Expand all Collapse all v0 v0.1.0 Feb 16, 2026 Changes in this version + type Handler struct + func New(size int, opts *Options) *Handler + func (h *Handler) All() iter.Seq[slog.Record] + func (h *Handler) Capacity() int + func (h *Handler) Clear() + func (h *Handler) Enabled(_ context.Context, level slog.Level) bool + func (h *Handler) Handle(_ context.Context, r slog.Record) error + func (h *Handler) JSON() ([]byte, error) + func (h *Handler) Len() int + func (h *Handler) Records() []slog.Record + func (h *Handler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *Handler) WithGroup(name string) slog.Handler + func (h *Handler) WriteTo(w io.Writer) (int64, error) + type Options struct + FlushOn slog.Leveler + FlushTo slog.Handler + Level slog.Leveler + MaxAge time.Duration