public static void QueueAbstractMessageOnPublish(List <LogMessage> logMessages) { if (!Enabled) { return; } foreach (var logMessage in logMessages) { if (logMessage.Level == 1) { DirectEventViewerLog(logMessage.Message, 1); } LogEngineComponent.WriteLog(logMessage); } //If something logged then flush if (logMessages.Count > 0) { LogEngineComponent.Flush(); } }
public void StartProcess() { var root = FocusOnTeamSpeak(); LogEngine.WriteLog("Display the identitiy dialogBox"); DisplayIdentitiesDialogBox(root); }