Пример #1
0
 public override void Log(ExceptionLoggerContext context)
 {
     _logger.Error(context.Exception);
     base.Log(context);
 }
Пример #2
0
 public override void OnException(HttpActionExecutedContext actionExecutedContext)
 {
     _logger.Error(actionExecutedContext.Exception);
     base.OnException(actionExecutedContext);
 }