mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-20 00:21:21 +00:00
Handle errors in DecodeMessage, added logging
This commit is contained in:
11
binary/log.go
Normal file
11
binary/log.go
Normal file
@ -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