github.com/annchain/OG@v0.0.9/p2p/onode/logger.go (about)

     1  package onode
     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  }