mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-19 13:46:17 +00:00
testing: reduce usage of the MustDefaultLogger constructor (#7960)
* testing: reduce usage of the MustDefualtLogger constructor * Apply suggestions from code review Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com> * cleanup tests Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
This commit is contained in:
co-authored by
M. J. Fromberger
parent
a57567ba33
commit
62a1cb8d17
@@ -22,8 +22,7 @@ var mux *http.ServeMux
|
||||
|
||||
func init() {
|
||||
mux = http.NewServeMux()
|
||||
lgr := log.MustNewDefaultLogger(log.LogFormatPlain, log.LogLevelInfo)
|
||||
rs.RegisterRPCFuncs(mux, rpcFuncMap, lgr)
|
||||
rs.RegisterRPCFuncs(mux, rpcFuncMap, log.NewNopLogger())
|
||||
}
|
||||
|
||||
func Fuzz(data []byte) int {
|
||||
|
||||
Reference in New Issue
Block a user