Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Options ¶
type Options struct { zap.Config LogFileDir string `json:logFileDir` AppName string `json:"appName"` ErrorFileName string `json:"errorFileName"` WarnFileName string `json:"warnFileName"` InfoFileName string `json:"infoFileName"` DebugFileName string `json:"debugFileName"` MaxSize int `json:"maxSize"` // megabytes MaxBackups int `json:"maxBackups"` MaxAge int `json:"maxAge"` // days }
Options 配置项
Click to show internal directories.
Click to hide internal directories.