github.com/elastos/Elastos.ELA.SideChain.ETH@v0.2.2/chainbridge-core/bridgelog/log.go (about)

     1  package bridgelog
     2  
     3  import "github.com/elastos/Elastos.ELA.SideChain.ESC/log"
     4  
     5  func Info(msg string, ctx ...interface{}) {
     6  	log.Info("[chainbridge info]", "", msg, "", ctx)
     7  }
     8  
     9  func Error(msg string, ctx ...interface{}) {
    10  	log.Error("[chainbridge error]", "", msg, "", ctx)
    11  }
    12  
    13  func Warn(msg string, ctx ...interface{}) {
    14  	log.Error("[chainbridge warn]", "", msg, "", ctx)
    15  }