18 lines
239 B
Go
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)
|
|
}
|
|
|