Documentation ¶
Index ¶
- func Debug(v ...interface{})
- func Error(v ...interface{})
- func Fatal(v ...interface{})
- func GetLogger() (l *logger)
- func Info(v ...interface{})
- func SetConsole(isConsole bool)
- func SetFormat(logFormat string)
- func SetLevel(_level LEVEL)
- func SetLevelFile(level LEVEL, dir, fileName string)
- func SetRollingDaily(fileDir, fileName string)
- func SetRollingFile(fileDir, fileName string, maxNumber int32, maxSize int64, _unit UNIT)
- func Warn(v ...interface{})
- type LEVEL
- type UNIT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetConsole ¶
func SetConsole(isConsole bool)
func SetLevelFile ¶
func SetRollingDaily ¶
func SetRollingDaily(fileDir, fileName string)
func SetRollingFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.