1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-06-27 11:41:39 +00:00
Files
binary
blocks
common
config
consensus
crypto
db
docs
mempool
merkle
p2p
rpc
sim
state
account.go
account_test.go
log.go
state.go
state_test.go
validator.go
.gitignore
README.md
log.go
main.go
tendermint/state/log.go

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
}