polycule-connect/polyculeconnect/logger/logger.go

10 lines
146 B
Go

package logger
import "github.com/sirupsen/logrus"
var L *logrus.Logger
func Init(level logrus.Level) {
L = logrus.New()
L.SetLevel(level)
}