Example #1
0
 public override void OnException(MethodInvocationContext invocation, Exception e)
 {
     if (LoggingConfiguration.LoggingOutputOptions.LogErrors)
     {
         invocation.GetStateItem<ILogger>().Error(GetCallLogInfo(invocation), e);
     }
 }
Example #2
0
 public override void PostCall(MethodInvocationContext invocation)
 {
     invocation.GetStateItem<ILogger>().Debug(GetPostCallLog(invocation));
 }