aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helper/init.go
diff options
context:
space:
mode:
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", "")
}