diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-23 19:54:10 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-23 19:54:10 +0800 |
commit | b9e8a3e02493d5bbf23cfcab259e66f6ae166612 (patch) | |
tree | 63a13e2d4bfb3daf0a9b06b32b8ef8b849556781 /ethchain/state.go | |
parent | 8e9cc3697944c3e568186a5c23ac729f6eb4a1f4 (diff) | |
download | dexon-b9e8a3e02493d5bbf23cfcab259e66f6ae166612.tar dexon-b9e8a3e02493d5bbf23cfcab259e66f6ae166612.tar.gz dexon-b9e8a3e02493d5bbf23cfcab259e66f6ae166612.tar.bz2 dexon-b9e8a3e02493d5bbf23cfcab259e66f6ae166612.tar.lz dexon-b9e8a3e02493d5bbf23cfcab259e66f6ae166612.tar.xz dexon-b9e8a3e02493d5bbf23cfcab259e66f6ae166612.tar.zst dexon-b9e8a3e02493d5bbf23cfcab259e66f6ae166612.zip |
modified logging API
- package vars for tagged loggers
- weed out spurious fmt.PrintX and log.PrintX logging
- tried to second guess loglevel for some :)
Diffstat (limited to 'ethchain/state.go')
-rw-r--r-- | ethchain/state.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/state.go b/ethchain/state.go index a08dfac83..e28b91909 100644 --- a/ethchain/state.go +++ b/ethchain/state.go @@ -125,7 +125,7 @@ func (self *State) GetOrNewStateObject(addr []byte) *StateObject { } func (self *State) NewStateObject(addr []byte) *StateObject { - ethutil.Config.Log.Printf(ethutil.LogLevelInfo, "(+) %x\n", addr) + statelogger.Infof("(+) %x\n", addr) stateObject := NewStateObject(addr) self.stateObjects[string(addr)] = stateObject |