Example #1
0
        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);
        }
Example #2
0
 protected virtual void LogException(Exception exception, WebExceptionContext exceptionContext = null)
 {
     //do nothing!
 }