Documentation
¶
Overview ¶
Package xslog provides helpers related to logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
func NewConfigFromFlags ¶
NewConfigFromFlags adds flags to the given flagset, and, after the flagset is parsed by the caller, the flags populate the returned logger config.
type NoopHandler ¶
type NoopHandler struct{}
NoopHandler is a slog handler that does not perform any logging.
Click to show internal directories.
Click to hide internal directories.