aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/common.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-04 18:40:11 +0800
committerobscuren <geffobscura@gmail.com>2015-04-04 18:40:11 +0800
commita0e44e3281fcef0913b172ed4cdb5283a8d4a46b (patch)
treee10b9ce906119e3810a15df66f433da678a2764e /core/vm/common.go
parent60e097a5f4c10e9e869bd2b4b2814b766b409e18 (diff)
downloaddexon-a0e44e3281fcef0913b172ed4cdb5283a8d4a46b.tar
dexon-a0e44e3281fcef0913b172ed4cdb5283a8d4a46b.tar.gz
dexon-a0e44e3281fcef0913b172ed4cdb5283a8d4a46b.tar.bz2
dexon-a0e44e3281fcef0913b172ed4cdb5283a8d4a46b.tar.lz
dexon-a0e44e3281fcef0913b172ed4cdb5283a8d4a46b.tar.xz
dexon-a0e44e3281fcef0913b172ed4cdb5283a8d4a46b.tar.zst
dexon-a0e44e3281fcef0913b172ed4cdb5283a8d4a46b.zip
basic glog
Diffstat (limited to 'core/vm/common.go')
-rw-r--r--core/vm/common.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/vm/common.go b/core/vm/common.go
index 0a93c3dd9..7b8b7dc4d 100644
--- a/core/vm/common.go
+++ b/core/vm/common.go
@@ -5,11 +5,9 @@ import (
"math/big"
"github.com/ethereum/go-ethereum/common"
- "github.com/ethereum/go-ethereum/logger"
+ "github.com/ethereum/go-ethereum/logger/glog"
)
-var vmlogger = logger.NewLogger("VM")
-
// Global Debug flag indicating Debug VM (full logging)
var Debug bool
@@ -41,7 +39,7 @@ func NewVm(env Environment) VirtualMachine {
case JitVmTy:
return NewJitVm(env)
default:
- vmlogger.Infoln("unsupported vm type %d", env.VmType())
+ glog.V(0).Infoln("unsupported vm type %d", env.VmType())
fallthrough
case StdVmTy:
return New(env)