aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helper/init.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-11-01 01:40:32 +0800
committerFelix Lange <fjl@twurst.com>2014-11-01 01:52:58 +0800
commitf3473312ba90b37b9a4100592a8c4d5d5bf245b7 (patch)
treeefc14c86ce3c9b45bcc09c84dc9fbed79c089cb9 /tests/helper/init.go
parent5af4ff985dc43b648bdc96394a3bd96d9658ae0a (diff)
downloaddexon-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar
dexon-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.gz
dexon-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.bz2
dexon-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.lz
dexon-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.xz
dexon-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.tar.zst
dexon-f3473312ba90b37b9a4100592a8c4d5d5bf245b7.zip
all: fix rename breakage
Diffstat (limited to 'tests/helper/init.go')
-rw-r--r--tests/helper/init.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/helper/init.go b/tests/helper/init.go
index 896ed5fe0..df98b9e42 100644
--- a/tests/helper/init.go
+++ b/tests/helper/init.go
@@ -4,16 +4,16 @@ import (
"log"
"os"
- "github.com/ethereum/go-ethereum/ethlog"
"github.com/ethereum/go-ethereum/ethutil"
+ logpkg "github.com/ethereum/go-ethereum/logger"
)
-var Logger ethlog.LogSystem
-var Log = ethlog.NewLogger("TEST")
+var Logger logpkg.LogSystem
+var Log = logpkg.NewLogger("TEST")
func init() {
- Logger = ethlog.NewStdLogSystem(os.Stdout, log.LstdFlags, ethlog.InfoLevel)
- ethlog.AddLogSystem(Logger)
+ Logger = logpkg.NewStdLogSystem(os.Stdout, log.LstdFlags, logpkg.InfoLevel)
+ logpkg.AddLogSystem(Logger)
ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "")
}