mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-21 07:24:36 +00:00
Handle errors in DecodeMessage, added logging
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package binary
|
||||
|
||||
import (
|
||||
"github.com/op/go-logging"
|
||||
)
|
||||
|
||||
var log = logging.MustGetLogger("binary")
|
||||
|
||||
func SetBinaryLogger(l *logging.Logger) {
|
||||
log = l
|
||||
}
|
||||
Reference in New Issue
Block a user