Example #1
0
 public void OnException(ExceptionContext context)
 {
     var logErrorEvent = new MvcErrorLogEvent(context);
     var log = LogManager.GetLogger(context.Controller.GetType());
     log.Error(logErrorEvent, context.Exception);
 }
 public MvcErrorLogEventFixtures()
 {
     _sut = new MvcErrorLogEvent(ObjectMother.CreateExceptionContextFake());
 }