Documentation ¶
Overview ¶
colorized logging
Index ¶
Constants ¶
View Source
const ( LevelTrace = slog.Level(-8) LevelDebug = slog.LevelDebug LevelInfo = slog.LevelInfo LevelWarning = slog.LevelWarn LevelError = slog.LevelError LevelFatal = slog.Level(12) )
Variables ¶
This section is empty.
Functions ¶
func NewConsoleHandler ¶
func NewConsoleHandler(options *slog.HandlerOptions) *consoleHandler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.