日志支持不展示调用链
This commit is contained in:
@@ -69,14 +69,15 @@ type ServerConfig struct {
|
||||
|
||||
// LogConfig 代表日志配置
|
||||
type LogConfig struct {
|
||||
Level string `yaml:"level"`
|
||||
Format string `yaml:"format"`
|
||||
EnableFile bool `yaml:"enable_file"`
|
||||
FilePath string `yaml:"file_path"`
|
||||
MaxSize int `yaml:"max_size"`
|
||||
MaxBackups int `yaml:"max_backups"`
|
||||
MaxAge int `yaml:"max_age"`
|
||||
Compress bool `yaml:"compress"`
|
||||
Level string `yaml:"level"`
|
||||
Format string `yaml:"format"`
|
||||
EnableFile bool `yaml:"enable_file"`
|
||||
FilePath string `yaml:"file_path"`
|
||||
MaxSize int `yaml:"max_size"`
|
||||
MaxBackups int `yaml:"max_backups"`
|
||||
MaxAge int `yaml:"max_age"`
|
||||
Compress bool `yaml:"compress"`
|
||||
EnableTrace bool `yaml:"enable_trace"`
|
||||
}
|
||||
|
||||
// DatabaseConfig 代表数据库配置
|
||||
|
||||
Reference in New Issue
Block a user