aboutsummaryrefslogblamecommitdiffstats
path: root/tests/helper/init.go
blob: 73d563e021e0b83d72985f88600a9766e4cb9f7d (plain) (tree)
1
2
3
4
5
6
7
8
9





              
                                                       

 
                               
                                  
 
             

                                                                                   
 
package helper

import (
    "log"
    "os"

    logpkg "github.com/ethereum/go-ethereum/logger"
)

var Logger *logpkg.StdLogSystem
var Log = logpkg.NewLogger("TEST")

func init() {
    Logger = logpkg.NewStdLogSystem(os.Stdout, log.LstdFlags, logpkg.InfoLevel)
    logpkg.AddLogSystem(Logger)
}