Discover Packages
github.com/Tokumicn/lego-lib
logs
zap
package
Version:
v0.0.0-...-6667eb6
Opens a new window with list of versions in this module.
Published: Jul 29, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Writer string `toml:"writer"`
Level string `toml:"level"`
FileConfig FileConfig `toml:"file_config"`
}
Config 日志配置项
type FileConfig struct {
Path string `toml:"path"`
Compress bool `toml:"compress"`
MaxSize int `toml:"max_size"`
MaxAge int `toml:"max_age"`
MaxBackups int `toml:"max_backups"`
}
FileConfig 日志配置项 文件类型时需要配置
Source Files
¶
Click to show internal directories.
Click to hide internal directories.