1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-06-05 09:31:20 +00:00

16 lines
246 B
Go
Raw Normal View History

2014-10-07 00:43:34 -07:00
package state
import (
"github.com/op/go-logging"
)
var log = logging.MustGetLogger("state")
func init() {
logging.SetFormatter(logging.MustStringFormatter("[%{level:.1s}] %{message}"))
}
2014-10-07 19:37:20 -07:00
func SetStateLogger(l *logging.Logger) {
2014-10-07 00:43:34 -07:00
log = l
}