mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
17 lines
281 B
Go
17 lines
281 B
Go
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)
|
|
}
|