public void Log(LogEntry l) { string msg = l.Message; TableLogsController.AddLog(l); if (l.Type >= LogType.InfoImportant) { RequestAttention(); } }
public void Log(LogEntry l) { string msg = l.Message; TableLogsController.AddLog(l); if (l.Type >= LogType.InfoImportant) { RequestAttention(); } if (l.Type == LogType.Fatal) { GuiUtils.MessageBoxError(msg); } }
public void Log(LogEntry l) { string msg = l.Message; TableLogsController.AddLog(l); if ((msg != "") && (l.Type != LogType.Verbose)) { if (Engine.IsConnected() == false) { Window.Title = Constants.Name + " - " + msg; MnuTrayStatus.Title = "> " + l.GetMessageForStatus(); } } if (l.Type >= LogType.InfoImportant) { StatusItem.ToolTip = msg; if (Engine.Instance.Storage.GetBool("gui.osx.sysbar.show_info")) { StatusItem.Title = msg; } } if (l.Type >= LogType.InfoImportant) { Notification(msg, ""); } if (l.Type >= LogType.InfoImportant) { RequestAttention(); } if (l.Type == LogType.Fatal) { GuiUtils.MessageBoxInfo(msg); } }