Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewColoredLogger ¶
func NewColoredLogger(o WritableFd, l slog.Leveler) *slog.Logger
NewColoredLogger sets the global slog.Logger to use colored logging. If $NO_COLOR is set, it will disable colored logging.
Types ¶
type WritableFd ¶
Click to show internal directories.
Click to hide internal directories.