github.com/annchain/OG@v0.0.9/p2p/discv5/logger.go (about) 1 package discv5 2 3 import ( 4 "github.com/sirupsen/logrus" 5 ) 6 7 var log = logrus.StandardLogger() 8 9 func SetLogger(logger *logrus.Logger) { 10 log = logger 11 }