/// <summary> /// Appends a log file in the /alarms folder in program files. The diagnostic monitor should signal a fail. /// </summary> /// <param name="core"></param> /// <param name="cause"></param> public static void logAlarm(CoreController core, string cause) { LogController.logFatal(core, "logAlarm: " + cause); core.programDataFiles.appendFile("Alarms/", "LogAlarm called, cause [" + cause + "]"); }