2014-10-15 01:41:00 +03:00
|
|
|
package helper
|
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
"os"
|
|
|
|
|
2014-10-31 19:40:32 +02:00
|
|
|
logpkg "github.com/ethereum/go-ethereum/logger"
|
2014-10-15 01:41:00 +03:00
|
|
|
)
|
|
|
|
|
2015-03-23 19:08:49 +02:00
|
|
|
var Logger *logpkg.StdLogSystem
|
2014-10-31 19:40:32 +02:00
|
|
|
var Log = logpkg.NewLogger("TEST")
|
2014-10-15 18:12:26 +03:00
|
|
|
|
2014-10-15 01:41:00 +03:00
|
|
|
func init() {
|
2014-10-31 19:40:32 +02:00
|
|
|
Logger = logpkg.NewStdLogSystem(os.Stdout, log.LstdFlags, logpkg.InfoLevel)
|
|
|
|
logpkg.AddLogSystem(Logger)
|
2014-10-15 01:41:00 +03:00
|
|
|
}
|