polycule-connect/template/logger/logger.go
2023-10-11 09:55:28 +02:00

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)
}