Documentation ¶
Index ¶
- func DPanic(args ...interface{})
- func DPanicf(template string, args ...interface{})
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func Panic(args ...interface{})
- func Panicf(template string, args ...interface{})
- func SetCallerSkip(skip int)
- func SetCompress(compress bool)
- func SetJsonFormat(jsonFormat bool)
- func SetLogPath(logPath string)
- func SetMaxAge(maxAge int)
- func SetMaxBackups(maxBackups int)
- func SetMaxSize(maxSize int)
- func SetOutput(output string)
- func SetShowLine(showLine bool)
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- type Z1logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMaxBackups ¶
func SetMaxBackups(maxBackups int)
SetMaxBackups The default is to retain all old log files
Types ¶
Click to show internal directories.
Click to hide internal directories.