Documentation ¶
Index ¶
- Constants
- func Config(logFolder string, level int)
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func GetLevel() int
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func SetLevel(level int)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type LogFile
Constants ¶
View Source
const ( // PanicLevel 异常 PanicLevel int = iota // FatalLevel 语法错误 FatalLevel // ErrorLevel 错误 ErrorLevel // WarnLevel 警告 WarnLevel // InfoLevel 信息 InfoLevel // DebugLevel 调试 DebugLevel )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.