Documentation ¶
Index ¶
- func Debugf(format string, v ...interface{})
- func Debugln(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Errorln(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Fatalln(v ...interface{})
- func Infof(format string, v ...interface{})
- func Infoln(v ...interface{})
- func LogFilePath(p string) func(Logger) Logger
- func Warnf(format string, v ...interface{})
- func Warnln(v ...interface{})
- type LogLevel
- type Logger
- func AlsoStdout(l Logger) Logger
- func DebugLevel(l Logger) Logger
- func ErrorLevel(l Logger) Logger
- func EveryDay(l Logger) Logger
- func EveryHour(l Logger) Logger
- func EveryMinute(l Logger) Logger
- func FatalLevel(l Logger) Logger
- func InfoLevel(l Logger) Logger
- func PrintStack(l Logger) Logger
- func Start(decorators ...func(Logger) Logger) Logger
- func WarnLevel(l Logger) Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatalf ¶
func Fatalf(format string, v ...interface{})
Fatalf prints formatted fatal log and exits.
func LogFilePath ¶
LogFilePath returns a function to set the log file path.
Types ¶
Click to show internal directories.
Click to hide internal directories.