fixup logger for latest go-micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
bf669d8b9e
commit
27cdc3bd7e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user