Use common logging init functions (#633)

* Use common logging init functions

* update protocol commit

* fix tests
This commit is contained in:
David Zhao
2022-04-20 00:15:11 -07:00
committed by GitHub
parent 431069af95
commit b821a0997d
18 changed files with 59 additions and 81 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ func Recover() {
default:
err = errors.New("unknown panic")
}
logger.GetLogger().Error(err, "recovered panic", "panic", r)
logger.Errorw("recovered panic", err, "panic", r)
}
}