test-errcode
wangchuxiao 2 years ago
parent f118705a8f
commit a2e845ec9f

@ -247,7 +247,7 @@ func (l *ZapLogger) WithValues(keysAndValues ...interface{}) Logger {
func (l *ZapLogger) WithName(name string) Logger {
dup := *l
dup.zap = l.zap.Named(_levelToColor[l.level].Add(name))
dup.zap = l.zap.Named(name)
return &dup
}

Loading…
Cancel
Save