Documentation ¶
Index ¶
- Constants
- func Debug(format string, args ...any)
- func DisableColor()
- func EnableColor()
- func Error(format string, args ...any)
- func Info(format string, args ...any)
- func SetLevel(level int)
- func SetOutput(w io.Writer)
- func SetTimeFormat(format string)
- func Trace(format string, args ...any)
- func Warn(format string, args ...any)
Constants ¶
View Source
const ( LevelError = iota LevelWarn LevelInfo LevelDebug LevelTrace )
Variables ¶
This section is empty.
Functions ¶
func DisableColor ¶
func DisableColor()
func SetLevel ¶
func SetLevel(level int)
LevelError = 0 LevelWarn = 1 LevelInfo = 2 LevelDebug = 3 LevelTrace = 4
func SetTimeFormat ¶
func SetTimeFormat(format string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.