test-errcode
wangchuxiao 2 years ago
parent ee738e11cd
commit a348af74fa

@ -69,6 +69,7 @@ func NewZapLogger() (*ZapLogger, error) {
Encoding: "json",
EncoderConfig: zap.NewProductionEncoderConfig(),
OutputPaths: []string{"stdout"},
ErrorOutputPaths: []string{"stdout"},
Sampling: &zap.SamplingConfig{
Initial: 0,
Thereafter: 0,

Loading…
Cancel
Save