Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ColoredHandler ¶
type ColoredHandler struct {
// contains filtered or unexported fields
}
ColoredHandler is a slog.Handler that writes colored, human-readable logs.
func NewColoredHandler ¶
func NewColoredHandler(w io.Writer, opts *slog.HandlerOptions) *ColoredHandler
Click to show internal directories.
Click to hide internal directories.