mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 04:57:17 +00:00
19 lines
323 B
Go
19 lines
323 B
Go
package helper
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"github.com/ethereum/eth-go/ethlog"
|
|
"github.com/ethereum/eth-go/ethutil"
|
|
)
|
|
|
|
var Logger ethlog.LogSystem
|
|
|
|
func init() {
|
|
Logger = ethlog.NewStdLogSystem(os.Stdout, log.LstdFlags, ethlog.LogLevel(4))
|
|
ethlog.AddLogSystem(Logger)
|
|
|
|
ethutil.ReadConfig(".ethtest", "/tmp/ethtest", "")
|
|
}
|