Documentation ¶
Index ¶
- Constants
- Variables
- func Debug(v ...interface{})
- func DebugSub(sub string, v ...interface{})
- func DebugSubf(sub, format string, v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func ErrorSub(sub string, v ...interface{})
- func ErrorSubf(sub, format string, v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func FatalSub(sub string, v ...interface{})
- func FatalSubf(sub, format string, v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Info(v ...interface{})
- func InfoSub(sub string, v ...interface{})
- func InfoSubf(sub, format string, v ...interface{})
- func Infof(format string, 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 Warn(v ...interface{})
- func WarnSub(sub string, v ...interface{})
- func WarnSubf(sub, format string, v ...interface{})
- func Warnf(format string, 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 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.