fixup logger for latest go-micro

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-02-27 12:38:12 +03:00
parent bf669d8b9e
commit 27cdc3bd7e

View File

@ -184,8 +184,6 @@ func loggerToZerologLevel(level logger.Level) zerolog.Level {
return zerolog.WarnLevel
case logger.ErrorLevel:
return zerolog.ErrorLevel
case logger.PanicLevel:
return zerolog.PanicLevel
case logger.FatalLevel:
return zerolog.FatalLevel
default:
@ -205,8 +203,6 @@ func ZerologToLoggerLevel(level zerolog.Level) logger.Level {
return logger.WarnLevel
case zerolog.ErrorLevel:
return logger.ErrorLevel
case zerolog.PanicLevel:
return logger.PanicLevel
case zerolog.FatalLevel:
return logger.FatalLevel
default: