go-ethereum/tests/helper/init.go

16 lines
277 B
Go
Raw Normal View History

2014-10-15 01:41:00 +03:00
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", "")
}