Created
April 17, 2012 21:43
-
-
Save robertgreiner/2409269 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)] | |
public class LoggingAttribute : InterceptAttribute | |
{ | |
public override IInterceptor CreateInterceptor(IProxyRequest request) | |
{ | |
return request.Kernel.Get<LoggingInterceptor>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment