Documentation
¶
Index ¶
- Constants
- func Debug(msg string, args ...any)
- func Error(msg string, args ...any)
- func Fatal(msg string, args ...any)
- func Info(msg string, args ...any)
- func Init(lvl slog.Level, colored bool)
- func Log(level slog.Level, msg string, args ...any)
- func Trace(msg string, args ...any)
- func Warn(msg string, args ...any)
- func WillTrace() bool
- type Handler
Constants ¶
View Source
const ( AllLevel slog.Level = iota TraceLevel DebugLevel InfoLevel WarnLevel ErrorLevel FatalLevel )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.