logger: fix infinite recursive call

logger/grpc.go:58:66        staticcheck  SA5007: infinite recursive call
This commit is contained in:
Roman Khimov 2021-04-29 11:58:36 +03:00 committed by Roman Khimov
parent d9f9a03625
commit 61d61a76cc

View file

@ -55,6 +55,6 @@ func (z *zapLogger) Fatal(args ...interface{}) { z.log.Fatal(args...) }
func (z *zapLogger) Fatalln(args ...interface{}) { z.log.Fatal(args...) } func (z *zapLogger) Fatalln(args ...interface{}) { z.log.Fatal(args...) }
func (z *zapLogger) Fatalf(format string, args ...interface{}) { z.Fatalf(format, args...) } func (z *zapLogger) Fatalf(format string, args ...interface{}) { z.log.Fatalf(format, args...) }
func (z *zapLogger) V(int) bool { return z.Enabled(zapcore.DebugLevel) } func (z *zapLogger) V(int) bool { return z.Enabled(zapcore.DebugLevel) }