p2p README update

This commit is contained in:
Jae Kwon
2014-09-11 11:17:59 -07:00
parent 8b606f9e66
commit 6a84b2e6aa
5 changed files with 151 additions and 5 deletions

4
log.go
View File

@ -6,6 +6,7 @@ import (
"github.com/op/go-logging"
"github.com/tendermint/tendermint/blocks"
"github.com/tendermint/tendermint/consensus"
"github.com/tendermint/tendermint/mempool"
"github.com/tendermint/tendermint/p2p"
)
@ -28,7 +29,8 @@ func init() {
Log.Error("error")
*/
p2p.SetP2PLogger(log)
blocks.SetBlocksLogger(log)
consensus.SetConsensusLogger(log)
p2p.SetP2PLogger(log)
mempool.SetMempoolLogger(log)
}