bottin/ldapserver/logger.go
2020-02-01 15:05:44 +01:00

18 lines
239 B
Go

package ldapserver
import (
"os"
log "github.com/sirupsen/logrus"
)
var Logger *log.Logger
func init() {
Logger = log.New()
Logger.SetOutput(os.Stdout)
Logger.SetFormatter(&log.TextFormatter{})
Logger.SetLevel(log.InfoLevel)
}