mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
16 lines
247 B
Go
16 lines
247 B
Go
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
|
|
}
|