aboutsummaryrefslogtreecommitdiff
path: root/ldapserver/logger.go
blob: 928695666f8e09ab87ebf5d07a24552d93eaeb4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)
}