diff --git a/internal/log/log.go b/internal/log/log.go index 8645871185..8487eab37e 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -93,7 +93,7 @@ func InitLoggerWithWriteSyncer(cfg *Config, output zapcore.WriteSyncer, opts ... level := zap.NewAtomicLevel() err := level.UnmarshalText([]byte(cfg.Level)) if err != nil { - return nil, nil, fmt.Errorf("InitLoggerWithWriteSyncer UnmarshalText cfg.Level err:%w", err) + return nil, nil, fmt.Errorf("initLoggerWithWriteSyncer UnmarshalText cfg.Level err:%w", err) } core := NewTextCore(newZapTextEncoder(cfg), output, level) opts = append(cfg.buildOptions(output), opts...)