Documentation ¶
Index ¶
- Variables
- func Debug(args ...interface{})
- func DebugTimes(times int, args ...interface{})
- func Debugf(format string, args ...interface{})
- func DisableTerminal()
- func Error(args ...interface{})
- func ErrorTimes(times int, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Info(args ...interface{})
- func InfoTimes(times int, args ...interface{})
- func Infof(format string, args ...interface{})
- func Panic(args ...interface{})
- func SetAppName(name string)
- func SetLogFile(name string)
- func SetOutService(ip string, port int)
- func SetOutServiceInfo2Panic()
- func SetOutServiceWarn2Panic()
- func Warn(args ...interface{})
- func WarnTimes(times int, args ...interface{})
- func Warnf(format string, args ...interface{})
- type Level
Constants ¶
This section is empty.
Variables ¶
View Source
var LevelMap = map[Level]string{
1: "Info ",
2: "Debug ",
3: "Warn ",
4: "Error ",
5: "Panic ",
}
Functions ¶
func DebugTimes ¶
func DebugTimes(times int, args ...interface{})
func DisableTerminal ¶
func DisableTerminal()
func ErrorTimes ¶
func ErrorTimes(times int, args ...interface{})
func SetAppName ¶
func SetAppName(name string)
func SetLogFile ¶
func SetLogFile(name string)
func SetOutService ¶
func SetOutServiceInfo2Panic ¶
func SetOutServiceInfo2Panic()
func SetOutServiceWarn2Panic ¶
func SetOutServiceWarn2Panic()
Types ¶
Click to show internal directories.
Click to hide internal directories.