Beispiel #1
0
        protected virtual void LogException(Exception exception, WebExceptionContext exceptionContext = null)
        {
            var message = new
            {
                exception        = exception.Message,
                exceptionContext = exceptionContext,
            };

            Log4NetHelper.Error(LoggerType.WebExceptionLog, message, exception);
        }
Beispiel #2
0
 protected virtual void LogException(Exception exception, WebExceptionContext exceptionContext = null)
 {
     var message = new
     {
         exception = exception.Message,
         exceptionContext = exceptionContext,
     };
     Log4NetHelper.Error(LoggerType.WebExceptionLog, message, exception);
 }