Documentation
¶
Index ¶
- Variables
- func Debug(v ...any)
- func Debugf(format string, v ...any)
- func Error(v ...any)
- func Errorf(format string, v ...any)
- func Fatal(v ...any)
- func Info(v ...any)
- func Infof(format string, v ...any)
- func SetLevel(level Level)
- func Trace(v ...any)
- func Tracef(format string, v ...any)
- func Warn(v ...any)
- func Warnf(format string, v ...any)
- type Level
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InfoLogger = log.New(os.Stderr, "INFO: ", log.Ldate|log.Ltime) WarnLogger = log.New(os.Stderr, "WARN: ", log.Ldate|log.Ltime) ErrorLogger = log.New(os.Stderr, "ERROR: ", log.Ldate|log.Ltime) DebugLogger = log.New(os.Stderr, "DEBUG: ", log.Ldate|log.Ltime) TraceLogger = log.New(os.Stderr, "TRACE: ", log.Ldate|log.Ltime) )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.