func SetLogger(l *log.Logger) {
	if l == nil {
		return
	}

	loggerMu.Lock()
	logger = l
	EnableLogging()
	loggerMu.Unlock()
}
// SetLogger sets a logger and enable logging.
SetLogger sets a logger and enable logging.
// SetLogger sets a logger and enable logging .
func SetLogger(l *log.Logger) {
	if l == nil {
		return
	}
	loggerMu.Lock()
	logger = l
	EnableLogging()
	loggerMu.Unlock()
}
func SetLogger ( l * log . Logger ) { if l == nil { return } loggerMu . Lock ( ) logger = l EnableLogging ( ) loggerMu . Unlock ( ) }
SetLogger sets a logger and enable logging.
SetLogger sets a logger and enable logging .