mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 18:21:38 +00:00
state save/load test.
This commit is contained in:
15
state/log.go
Normal file
15
state/log.go
Normal file
@ -0,0 +1,15 @@
|
||||
package state
|
||||
|
||||
import (
|
||||
"github.com/op/go-logging"
|
||||
)
|
||||
|
||||
var log = logging.MustGetLogger("state")
|
||||
|
||||
func init() {
|
||||
logging.SetFormatter(logging.MustStringFormatter("[%{level:.1s}] %{message}"))
|
||||
}
|
||||
|
||||
func SetStatesLogger(l *logging.Logger) {
|
||||
log = l
|
||||
}
|
Reference in New Issue
Block a user