polycule-connect/polyculeconnect/logger/logger.go

11 lines
146 B
Go
Raw Permalink Normal View History

2023-10-12 18:36:34 +00:00
package logger
import "github.com/sirupsen/logrus"
var L *logrus.Logger
func Init(level logrus.Level) {
L = logrus.New()
L.SetLevel(level)
}