Documentation
¶
Overview ¶
Package log provides CLI-agnostic structured-logging setup over log/slog: textual level and format types bound from configuration, and a constructor that builds a *slog.Logger over any writer. It knows nothing about command-line frameworks; the binding of these types to flags lives in a consumer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerConfig ¶
LoggerConfig holds the logging configuration bound from a consumer's flags.
Click to show internal directories.
Click to hide internal directories.