Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NilHandler ¶
type NilHandler struct{}
func (*NilHandler) Enabled ¶
Enabled returns always false for NilHandler.
func (*NilHandler) Handle ¶
Handle does nothing for NilHandler.
func (*NilHandler) WithAttrs ¶
func (h *NilHandler) WithAttrs(_ []slog.Attr) slog.Handler
WithAttrs returns a new NilHandler whose attributes consists of h's attributes followed by attrs. NilHandler returns a new empty handler.
Click to show internal directories.
Click to hide internal directories.