aboutsummaryrefslogblamecommitdiff
path: root/ldapserver/logger.go
blob: 928695666f8e09ab87ebf5d07a24552d93eaeb4b (plain) (tree)
1
2
3
4
5
6
7
8
9


                  
            
 

                                        
 
                      
 

             



                                                 

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