Documentation
¶
Index ¶
Constants ¶
View Source
const ( ColorReset = "\033[0m" ColorMuted = "\033[90m" ColorBase = "\033[0m" ColorKey = "\033[0m" ColorString = "\033[93m" ColorNumber = "\033[92m" ColorBool = "\033[94m" ColorNull = "\033[95m" ColorDebug = "\033[37m" ColorInfo = "\033[94m" ColorWarn = "\033[33m" ColorError = "\033[31m" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrettyHandler ¶
type PrettyHandler struct {
// contains filtered or unexported fields
}
func NewPrettyHandler ¶
func NewPrettyHandler(w io.Writer, opts *slog.HandlerOptions) *PrettyHandler
Click to show internal directories.
Click to hide internal directories.