Documentation ¶ Index ¶ type DiscardHandler func (h DiscardHandler) Enabled(_ context.Context, _ slog.Level) bool func (h DiscardHandler) Handle(_ context.Context, _ slog.Record) error func (h DiscardHandler) WithAttrs(_ []slog.Attr) slog.Handler func (h DiscardHandler) WithGroup(_ string) slog.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DiscardHandler ¶ type DiscardHandler struct{} func (DiscardHandler) Enabled ¶ func (h DiscardHandler) Enabled(_ context.Context, _ slog.Level) bool func (DiscardHandler) Handle ¶ func (h DiscardHandler) Handle(_ context.Context, _ slog.Record) error func (DiscardHandler) WithAttrs ¶ func (h DiscardHandler) WithAttrs(_ []slog.Attr) slog.Handler func (DiscardHandler) WithGroup ¶ func (h DiscardHandler) WithGroup(_ string) slog.Handler Source Files ¶ View all Source files slog.go Click to show internal directories. Click to hide internal directories.