Documentation ¶ Index ¶ type 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 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { UseJournal bool Level slog.Level ErrKey string // contains filtered or unexported fields } func (Handler) Enabled ¶ func (h Handler) Enabled(ctx context.Context, level slog.Level) bool func (Handler) Handle ¶ func (h Handler) Handle(ctx context.Context, r slog.Record) error func (Handler) WithAttrs ¶ func (h Handler) WithAttrs(attrs []slog.Attr) slog.Handler func (Handler) WithGroup ¶ func (h Handler) WithGroup(name string) slog.Handler Source Files ¶ View all Source files log.go writer.go Click to show internal directories. Click to hide internal directories.