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