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 Output(msg string, args ...any)
- func SetLevel(level level)
- func SetOutput(output io.Writer)
- func SetPrefix(prefix string)
- func Trace(msg string, args ...any)
- func Verbose(msg string, args ...any)
- func Warn(msg string, args ...any)
- type Log
Constants ¶
View Source
const ( FatalLevel level = -3 ErrorLevel level = -2 WarningLevel level = -1 OutputLevel level = 0 // default: output, warnings, errors & fatals InfoLevel level = 1 VerboseLevel level = 2 DebugLevel level = 3 TraceLevel level = 4 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.