Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Sugar *zap.SugaredLogger
Sugar 快捷方式
Functions ¶
Types ¶
type Config ¶
type Config struct { FileName string `mapstructure:"file_name"` MaxSize int `mapstructure:"max_size"` MaxAge int `mapstructure:"max_age"` Level string `mapstructure:"level"` SizeIncise bool `mapstructrue:"size_incise"` }
Config 日志配置信息
Click to show internal directories.
Click to hide internal directories.