public void LogUserActivity(string txt) { lock (m_sysLogger) { IEventLog log = m_sysLogger.LogEvent(txt, DateTime.Now, EventType_t.Activity); SysLogAdded?.Invoke(log); } }
public void LogSysError(string txt, bool showToUser = false) { lock (m_sysLogger) { IEventLog log = m_sysLogger.LogEvent(txt, DateTime.Now, EventType_t.Error); SysLogAdded?.Invoke(log); } if (showToUser) { TextLogger.Error(txt); } }