internal LogEntry(string errorMessage, Enums.ESeverity sev, Exception exc = null) { m_datetime = DateTime.Now; m_errorMessage = errorMessage; m_severity = sev; m_exception = exc; }
private void CreateAndQueueLogEntry(string strMessage, Enums.ESeverity sev, Exception exc = null) { LogEntry logEntry = new LogEntry(strMessage, sev, exc); m_logQueue.Enqueue(logEntry); }