basic glog
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user