diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-05 05:04:19 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-05 05:04:19 +0800 |
commit | 053d5552abdbc4cf41376149b141e24a01713e5a (patch) | |
tree | 8083ace145e4270f4a72e35fff2af0ec5e37cc38 /miner/agent.go | |
parent | 5dc5e669864153949899b7a7c37737be65b80ba1 (diff) | |
download | dexon-053d5552abdbc4cf41376149b141e24a01713e5a.tar dexon-053d5552abdbc4cf41376149b141e24a01713e5a.tar.gz dexon-053d5552abdbc4cf41376149b141e24a01713e5a.tar.bz2 dexon-053d5552abdbc4cf41376149b141e24a01713e5a.tar.lz dexon-053d5552abdbc4cf41376149b141e24a01713e5a.tar.xz dexon-053d5552abdbc4cf41376149b141e24a01713e5a.tar.zst dexon-053d5552abdbc4cf41376149b141e24a01713e5a.zip |
Updated logging
Diffstat (limited to 'miner/agent.go')
-rw-r--r-- | miner/agent.go | 4 |
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() |