void ILogger.Warning(string warn) { if (On) { UiSync.Execute(() => _logView[3].Text += GestLogString(warn)); } }
void ILogger.Error(string error) { if (On) { UiSync.Execute(() => _logView[1].Text += GestLogString(error)); } }
void ILogger.Info(string info) { if (On) { UiSync.Execute(() => _logView[2].Text += GestLogString(info)); } }
void ILogger.Debug(string debug) { if (true) { return; } if (SessionInfo.Playing) { if (_debugSaveDone) { UiSync.Execute(() => _logView[0].AppendText(GestLogString(debug))); } else { _debugSaveDone = true; UiSync.Execute(() => DebugSaveDoEEt(debug)); } } else { if (_debugSaveDone) { return; } if (_debugSaveStart > 2) { (new System.Threading.Thread(() => _debugSave.Append(GestLogString(debug)))).Start(); } ++_debugSaveStart; } }