Documentation
¶
Index ¶
- func Debug(format string, v ...any)
- func Error(format string, v ...any)
- func Fatal(format string, v ...any)
- func Info(format string, v ...any)
- func InitLogger(writer io.Writer)
- func Log(aktLevel LogLevel, format string, v ...any) string
- func SetLogLevel(newLevel LogLevel)
- func SetLogLevelByName(newLevelName string)
- func Warn(format string, v ...any)
- type ChainContext
- type LogLevel
- type PathInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func SetLogLevel ¶
func SetLogLevel(newLevel LogLevel)
func SetLogLevelByName ¶
func SetLogLevelByName(newLevelName string)
Types ¶
type ChainContext ¶
type ChainContext struct {
Err error
}
func (*ChainContext) Chain ¶
func (ctx *ChainContext) Chain(f func()) *ChainContext
func (*ChainContext) ChainError ¶
func (ctx *ChainContext) ChainError(label string)
func (*ChainContext) ChainFatal ¶
func (ctx *ChainContext) ChainFatal(label string)
Click to show internal directories.
Click to hide internal directories.