change logger to log15

This commit is contained in:
Jae Kwon
2014-12-29 18:09:06 -08:00
parent 591d84947b
commit 0bfb389b35
35 changed files with 189 additions and 251 deletions

View File

@ -7,6 +7,7 @@ import (
"time"
. "github.com/tendermint/tendermint/binary"
. "github.com/tendermint/tendermint/common"
)
type PeerMessage struct {
@ -201,7 +202,7 @@ func BenchmarkSwitches(b *testing.B) {
numFailure += nF
}
log.Warning("success: %v, failure: %v", numSuccess, numFailure)
log.Warn(Fmt("success: %v, failure: %v", numSuccess, numFailure))
// Allow everything to flush before stopping switches & closing connections.
b.StopTimer()