func ConfigureLogging(logLevel string) {
	if strings.EqualFold(logLevel, "debug") {
		log.SetLevel(log.DebugLevel)
	} else if strings.EqualFold(logLevel, "info") {
		log.SetLevel(log.InfoLevel)
	} else {
		// Default level
		log.SetLevel(log.WarnLevel)
	}

	log.SetOutput(os.Stderr)
}
// Set up logging for both Calico and libcalico using the provided log level,
Set up logging for both Calico and libcalico using the provided log level.
// Set up logging for both Calico and libcalico using the provided log level
func ConfigureLogging(logLevel string) {
	if strings.EqualFold(logLevel, "debug") {
		log.SetLevel(log.DebugLevel)
	} else if strings.EqualFold(logLevel, "info") {
		log.SetLevel(log.InfoLevel)
	} else {
		log.SetLevel(log.WarnLevel)
	}
	log.SetOutput(os.Stderr)
}
func ConfigureLogging ( logLevel string ) { if strings . EqualFold ( logLevel , " " ) { log . SetLevel ( log . DebugLevel ) } else if strings . EqualFold ( logLevel , " " ) { log . SetLevel ( log . InfoLevel ) } else { log . SetLevel ( log . WarnLevel ) } log . SetOutput ( os . Stderr ) }
Set up logging for both Calico and libcalico using the provided log level.
Set up logging for both Calico and libcalico using the provided log level .
// Default level