Documentation
¶
Index ¶
- Constants
- func Debug(msg string)
- func Debugf(msg string, args ...any)
- func Error(msg string)
- func Errorf(msg string, args ...any)
- func Fatal(msg string)
- func Fatalf(msg string, args ...any)
- func Info(msg string)
- func Infof(msg string, args ...any)
- func Logf(level LogLevel, calldepth int, msg string, args ...any)
- func Panic(msg string)
- func Panicf(msg string, args ...any)
- func SetLogLevel(level LogLevel) error
- func SetLogLevelByName(levelName string) error
- func SetLogLevelFromEnvironment(envVar string) error
- func Warn(msg string)
- func Warnf(msg string, args ...any)
- type LogLevel
Constants ¶
View Source
const DefaultCalldepth = 3
View Source
const DefaultLevel = LevelInfo
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevelByName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.