Versions in this module Expand all Collapse all v0 v0.8.1 May 27, 2026 v0.8.0 May 27, 2026 Changes in this version + func DefaultPath() string + func Discard() *slog.Logger + func New(opts Options) (*slog.Logger, string, error) + type Options struct + Component string + Level string + MaxAgeDays int + MaxBackups int + MaxSizeMB int + Path string + type RedactingHandler struct + func NewRedactingHandler(inner slog.Handler) *RedactingHandler + func (h *RedactingHandler) Enabled(ctx context.Context, level slog.Level) bool + func (h *RedactingHandler) Handle(ctx context.Context, r slog.Record) error + func (h *RedactingHandler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *RedactingHandler) WithGroup(name string) slog.Handler