Versions in this module Expand all Collapse all v0 v0.9.7 Mar 18, 2020 Changes in this version + const DEFAULT_LOG_DIR + const DEFAULT_ROTATE_SIZE + const DEFAULT_ROTATE_TYPE + const FMT_LEVEL + const FMT_LOCATION + const FMT_LTIME + const FMT_MSG + const FMT_TIME + const ROTATE_DAY + const ROTATE_HOUR + const ROTATE_MINUTE + const ROTATE_NONE + const ROTATE_SIZE + const ROTATE_SIZE_FILE_PREFIX + var LOG_FMT_STR = map[string]string + func Debug(msg ...interface{}) + func Debugf(format string, msg ...interface{}) + func Debugln(msg ...interface{}) + func Error(msg ...interface{}) + func Errorf(format string, msg ...interface{}) + func Errorln(msg ...interface{}) + func Fatal(msg ...interface{}) + func Fatalf(format string, msg ...interface{}) + func Fatalln(msg ...interface{}) + func Info(msg ...interface{}) + func Infof(format string, msg ...interface{}) + func Infoln(msg ...interface{}) + func NewLogger() *logger + func Panic(msg ...interface{}) + func Panicf(format string, msg ...interface{}) + func Panicln(msg ...interface{}) + func SetLogDir(dir string) error + func SetLogFormat(format []string) + func SetLogHandler(h Handler) + func SetLogLevel(l Level) + func SetRotateSize(size int64) error + func SetRotateType(r RotateStrategy) + func Warn(msg ...interface{}) + func Warnf(format string, msg ...interface{}) + func Warnln(msg ...interface{}) + type Handler uint8 + const FILE + const NONE + const STDERR + const STDOUT + type Level uint8 + const DEBUG + const ERROR + const FATAL + const INFO + const PANIC + const WARN + type RotateStrategy uint8