Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"` }
Config 日志配置信息
type SugaredLogger ¶ added in v0.0.8
type SugaredLogger = zap.SugaredLogger
SugaredLogger 美化日志类型
var Sugar *SugaredLogger
Sugar 日志操作
Click to show internal directories.
Click to hide internal directories.