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