protected override void LogException(Exception exception, WebExceptionContext exceptionContext = null) { base.LogException(exception); var message = new { exception = exception.Message, exceptionContext = exceptionContext, }; Log4NetHelper.Error(LoggerType.WebExceptionLog, message, exception); }
protected virtual void LogException(Exception exception, WebExceptionContext exceptionContext = null) { //do nothing! }