Documentation ¶
Overview ¶
Package logger Simple log output
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Enable() bool
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func SetEnable(enable bool)
- func SetLevel(l Level)
- func SetLogFile(filePath string)
- type Level
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogFile ¶ added in v2.4.0
func SetLogFile(filePath string)
SetLogFile set log file full path
Types ¶
Click to show internal directories.
Click to hide internal directories.