aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helper/init.go
blob: 1f2ee208abc5f252b5308d88e4fff1ad5406e38a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package helper

import (
    "log"
    "os"

    "github.com/ethereum/eth-go/ethlog"
    "github.com/ethereum/eth-go/ethutil"
)

func init() {
    ethlog.AddLogSystem(ethlog.NewStdLogSystem(os.Stdout, log.LstdFlags, ethlog.LogLevel(4)))

    ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "")
}