aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helper/init.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-15 23:12:26 +0800
committerobscuren <geffobscura@gmail.com>2014-10-15 23:12:26 +0800
commit311c6f8a3fed5ac03ee4b442fd0f420072bc41b4 (patch)
treede823080f3704d7690fd7172c9742962b66baf3a /tests/helper/init.go
parent266d21209478bdb8c89e1ffb95d7f0de34635968 (diff)
downloaddexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar
dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.gz
dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.bz2
dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.lz
dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.xz
dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.zst
dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.zip
Fixed remote Arithmetic tests
Diffstat (limited to 'tests/helper/init.go')
-rw-r--r--tests/helper/init.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/helper/init.go b/tests/helper/init.go
index 1f2ee208a..5f95dfc2f 100644
--- a/tests/helper/init.go
+++ b/tests/helper/init.go
@@ -8,8 +8,11 @@ import (
"github.com/ethereum/eth-go/ethutil"
)
+var Logger ethlog.LogSystem
+
func init() {
- ethlog.AddLogSystem(ethlog.NewStdLogSystem(os.Stdout, log.LstdFlags, ethlog.LogLevel(4)))
+ Logger = ethlog.NewStdLogSystem(os.Stdout, log.LstdFlags, ethlog.LogLevel(4))
+ ethlog.AddLogSystem(Logger)
ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "")
}