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
|
return zerolog.WarnLevel
|
||||||
case logger.ErrorLevel:
|
case logger.ErrorLevel:
|
||||||
return zerolog.ErrorLevel
|
return zerolog.ErrorLevel
|
||||||
case logger.PanicLevel:
|
|
||||||
return zerolog.PanicLevel
|
|
||||||
case logger.FatalLevel:
|
case logger.FatalLevel:
|
||||||
return zerolog.FatalLevel
|
return zerolog.FatalLevel
|
||||||
default:
|
default:
|
||||||
@ -205,8 +203,6 @@ func ZerologToLoggerLevel(level zerolog.Level) logger.Level {
|
|||||||
return logger.WarnLevel
|
return logger.WarnLevel
|
||||||
case zerolog.ErrorLevel:
|
case zerolog.ErrorLevel:
|
||||||
return logger.ErrorLevel
|
return logger.ErrorLevel
|
||||||
case zerolog.PanicLevel:
|
|
||||||
return logger.PanicLevel
|
|
||||||
case zerolog.FatalLevel:
|
case zerolog.FatalLevel:
|
||||||
return logger.FatalLevel
|
return logger.FatalLevel
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user