Documentation ¶
Index ¶
- Constants
- Variables
- func Debug(v ...interface{})
- func Error(v ...interface{})
- func FDebug(format string, v ...interface{})
- func FError(format string, v ...interface{})
- func FFatal(format string, v ...interface{})
- func FInfo(format string, v ...interface{})
- func FWarn(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Flush()
- func Info(v ...interface{})
- func SetConsole(isConsole bool)
- func SetLevel(_level LEVEL)
- func SetLevelWithName(_level string)
- func SetLogFile(fileDir string, fileName string, todb bool)
- func SetRollingDaily(fileDir, fileName string, todb bool)
- func SetRollingFile(fileDir, fileName string, maxNumber int32, maxSize int64, _unit UNIT)
- func SetSvrId(svrName string, svrId string)
- 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 SetLevelWithName ¶
func SetLevelWithName(_level string)
func SetLogFile ¶
func SetRollingDaily ¶
func SetRollingFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.