2020-01-19 12:00:53 +00:00
|
|
|
package ldapserver
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
2020-01-26 18:47:38 +00:00
|
|
|
|
2020-02-01 14:05:44 +00:00
|
|
|
log "github.com/sirupsen/logrus"
|
|
|
|
)
|
2020-01-19 12:00:53 +00:00
|
|
|
|
2020-02-01 14:05:44 +00:00
|
|
|
var Logger *log.Logger
|
2020-01-19 12:00:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
func init() {
|
2020-02-01 14:05:44 +00:00
|
|
|
Logger = log.New()
|
|
|
|
Logger.SetOutput(os.Stdout)
|
|
|
|
Logger.SetFormatter(&log.TextFormatter{})
|
|
|
|
Logger.SetLevel(log.InfoLevel)
|
2020-01-19 12:00:53 +00:00
|
|
|
}
|
|
|
|
|