mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 12:57:17 +00:00
69baa465ea
mist, etheruem have been moved to cmd/
20 lines
366 B
Go
20 lines
366 B
Go
package helper
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"github.com/ethereum/go-ethereum/ethlog"
|
|
"github.com/ethereum/go-ethereum/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", "")
|
|
}
|