public static void LogInfo(string message) { if (logSwitch.TraceInfo) { logger.Log(message, "INFO"); } }