mirror of https://github.com/status-im/op-geth.git
20 lines
356 B
Go
20 lines
356 B
Go
package helper
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"github.com/ethereum/eth-go/ethlog"
|
|
"github.com/ethereum/eth-go/ethutil"
|
|
)
|
|
|
|
var Logger ethlog.LogSystem
|
|
var Log = ethlog.NewLogger("TEST")
|
|
|
|
func init() {
|
|
Logger = ethlog.NewStdLogSystem(os.Stdout, log.LstdFlags, ethlog.InfoLevel)
|
|
ethlog.AddLogSystem(Logger)
|
|
|
|
ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "")
|
|
}
|