public void Error(string message, System.Exception e, log4net.Core.ErrorCode errorCode) { if (this.m_firstTime) { this.FirstError(message, e, errorCode); } }
public void Reset() { this.m_enabledDate = DateTime.MinValue; this.m_errorCode = log4net.Core.ErrorCode.GenericFailure; this.m_exception = null; this.m_message = null; this.m_firstTime = true; }
public virtual void FirstError(string message, System.Exception e, log4net.Core.ErrorCode errorCode) { this.m_enabledDate = DateTime.Now; this.m_errorCode = errorCode; this.m_exception = e; this.m_message = message; this.m_firstTime = false; if (LogLog.InternalDebugging && !LogLog.QuietMode) { string[] textArray1 = new string[] { "[", this.m_prefix, "] ErrorCode: ", errorCode.ToString(), ". ", message }; LogLog.Error(declaringType, string.Concat(textArray1), e); } }