Versions in this module Expand all Collapse all v1 v1.0.0 Dec 8, 2023 Changes in this version + func Init() + type Handler struct + func NewHandler(opts ...HandlerOption) *Handler + func (h *Handler) Enabled(context.Context, slog.Level) bool + func (h *Handler) FormatColor(level slog.Level) string + func (h *Handler) Handle(ctx context.Context, r slog.Record) error + func (h *Handler) WithAttrs(in []slog.Attr) slog.Handler + func (h *Handler) WithGroup(name string) slog.Handler + type HandlerOption func(*Handler) + func WithLevel(l slog.Level) HandlerOption + func WithWriter(in io.Writer) HandlerOption