aboutsummaryrefslogtreecommitdiffstats
path: root/miner/agent.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-05 05:04:19 +0800
committerobscuren <geffobscura@gmail.com>2015-04-05 05:04:19 +0800
commit053d5552abdbc4cf41376149b141e24a01713e5a (patch)
tree8083ace145e4270f4a72e35fff2af0ec5e37cc38 /miner/agent.go
parent5dc5e669864153949899b7a7c37737be65b80ba1 (diff)
downloadgo-tangerine-053d5552abdbc4cf41376149b141e24a01713e5a.tar
go-tangerine-053d5552abdbc4cf41376149b141e24a01713e5a.tar.gz
go-tangerine-053d5552abdbc4cf41376149b141e24a01713e5a.tar.bz2
go-tangerine-053d5552abdbc4cf41376149b141e24a01713e5a.tar.lz
go-tangerine-053d5552abdbc4cf41376149b141e24a01713e5a.tar.xz
go-tangerine-053d5552abdbc4cf41376149b141e24a01713e5a.tar.zst
go-tangerine-053d5552abdbc4cf41376149b141e24a01713e5a.zip
Updated logging
Diffstat (limited to 'miner/agent.go')
-rw-r--r--miner/agent.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/miner/agent.go b/miner/agent.go
index ad08e3841..547fdfbef 100644
--- a/miner/agent.go
+++ b/miner/agent.go
@@ -5,6 +5,8 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/logger"
+ "github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/pow"
)
@@ -75,7 +77,7 @@ done:
}
func (self *CpuMiner) mine(block *types.Block) {
- minerlogger.Debugf("(re)started agent[%d]. mining...\n", self.index)
+ glog.V(logger.Debug).Infof("(re)started agent[%d]. mining...\n", self.index)
// Reset the channel
self.chMu.Lock()