We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff7ce1 commit 755fe7cCopy full SHA for 755fe7c
server/config/zap.go
@@ -13,7 +13,7 @@ type Zap struct {
13
EncodeLevel string `mapstructure:"encode-level" json:"encode-level" yaml:"encode-level"` // 编码级
14
StacktraceKey string `mapstructure:"stacktrace-key" json:"stacktrace-key" yaml:"stacktrace-key"` // 栈名
15
16
- MaxAge int `mapstructure:"mintage" json:"max-age" yaml:"max-age"` // 日志留存时间
+ MaxAge int `mapstructure:"max-age" json:"max-age" yaml:"max-age"` // 日志留存时间
17
ShowLine bool `mapstructure:"show-line" json:"show-line" yaml:"show-line"` // 显示行
18
LogInConsole bool `mapstructure:"log-in-console" json:"log-in-console" yaml:"log-in-console"` // 输出控制台
19
}
0 commit comments