コード例 #1
0
 internal LogEntry(string errorMessage, Enums.ESeverity sev, Exception exc = null)
 {
     m_datetime     = DateTime.Now;
     m_errorMessage = errorMessage;
     m_severity     = sev;
     m_exception    = exc;
 }
コード例 #2
0
        private void CreateAndQueueLogEntry(string strMessage, Enums.ESeverity sev, Exception exc = null)
        {
            LogEntry logEntry = new LogEntry(strMessage, sev, exc);

            m_logQueue.Enqueue(logEntry);
        }