Documentation
¶
Index ¶
- Constants
- func Close()
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Init(path string, app string, level string, expireDay int) error
- func Notice(v ...interface{})
- func Noticef(format string, v ...interface{})
- func Panic(v ...interface{})
- func Panicf(format string, v ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Level
- type Logger
- type Writer
Constants ¶
View Source
const ( DEFAULT_FILEWRITER_MAX_EXPIRE_DAY = 7 //日志默认有效天数 DEFAULT_FILEWRITER_FILE_SUFFIX_TIME_STRING = "2006010215" //日志文件时间前缀 DEFAULT_FILEWRITER_MSG_SUFFIX_TIME_STRING = "06-01-02 15:04:05.999" //日志时间格式 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.