Documentation ¶ Index ¶ func InitLogger() func L() *zap.Logger type Cfg Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitLogger ¶ func InitLogger() func L ¶ func L() *zap.Logger Types ¶ type Cfg ¶ type Cfg struct { Level string `json:"level"` Filename string `json:"filename"` MaxSize int `json:"max_size"` MaxAge int `json:"max_age"` MaxBackups int `json:"max_backups"` } Source Files ¶ View all Source files encoder.go logger.go Directories ¶ Show internal Expand all Path Synopsis adapter Click to show internal directories. Click to hide internal directories.