Documentation ¶
Index ¶
- Constants
- Variables
- func Debug(v ...interface{})
- func Error(v ...interface{})
- func Fatal(v ...interface{})
- func Info(v ...interface{})
- func SetConsole(isConsole bool)
- func SetLevel(_level LEVEL)
- func SetRollingDaily(fileDir, fileName string)
- func SetRollingFile(fileDir, fileName string, maxNumber int32, maxSize int64, _unit UNIT)
- func SetSourceRoot(src string)
- func Trace(v ...interface{})
- func Warn(v ...interface{})
- type LEVEL
- type UNIT
Constants ¶
View Source
const DATEFORMAT = "2006-01-02"
Variables ¶
View Source
var RollingFile bool = false
Functions ¶
func SetConsole ¶
func SetConsole(isConsole bool)
func SetRollingDaily ¶
func SetRollingDaily(fileDir, fileName string)
func SetRollingFile ¶
func SetSourceRoot ¶
func SetSourceRoot(src string)
Types ¶
Click to show internal directories.
Click to hide internal directories.