Skip to content

Instantly share code, notes, and snippets.

@yaplex
Created June 19, 2017 20:46
Show Gist options
  • Save yaplex/70445925e0f866cd7c133134f22fafcc to your computer and use it in GitHub Desktop.
Save yaplex/70445925e0f866cd7c133134f22fafcc to your computer and use it in GitHub Desktop.
<policyInjection>
<policies>
<add name="LoggingPolicy">
<matchingRules>
<add match="Logging" ignoreCase="false"
type="Microsoft.Practices.EnterpriseLibrary.PolicyInjection.MatchingRules.TagAttributeMatchingRule,
Microsoft.Practices.EnterpriseLibrary.PolicyInjection" />
</matchingRules>
<handlers>
<add order="0"
type="ImprovedLoggingWithMsPolicyInjection.Business.LoggingInterceptor,
ImprovedLoggingWithMsPolicyInjection.Business"
name="My interceptor" />
</handlers>
</add>
</policies>
</policyInjection>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment