Documentation ¶
Index ¶
- func DPanicLevel(level zapcore.Level) bool
- func DebugLevel(level zapcore.Level) bool
- func ErrorLevel(level zapcore.Level) bool
- func FatalLevel(level zapcore.Level) bool
- func InfoLevel(level zapcore.Level) bool
- func PanicLevel(level zapcore.Level) bool
- func WarnLevel(level zapcore.Level) bool
- type Level
- type LoggerParam
- type Logs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoggerParam ¶
type LoggerParam struct { Path string `json:"path" toml:"path" yaml:"path" xml:"path"` // log file path MaxSize int `json:"maxSize" toml:"maxSize" yaml:"maxSize" xml:"maxSize"` // log file max size MaxBackups int `json:"maxBackups" toml:"maxBackups" yaml:"maxBackups" xml:"maxBackups"` // log file max backups MaxAge int `json:"maxAge" toml:"maxAge" yaml:"maxAge" xml:"maxAge"` // log file max save day Compress bool `json:"compress" toml:"compress" yaml:"compress" xml:"compress"` // log file whether to compress }
LoggerParam
Click to show internal directories.
Click to hide internal directories.