Skip to content

Instantly share code, notes, and snippets.

@tugberkugurlu
Created April 8, 2019 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tugberkugurlu/9066c411bbfb2309657f56ab89ce8f71 to your computer and use it in GitHub Desktop.
Save tugberkugurlu/9066c411bbfb2309657f56ab89ce8f71 to your computer and use it in GitHub Desktop.
using PostSharp.Patterns.Diagnostics;
using PostSharp.Extensibility;
[assembly: Log(AttributePriority = 1, AttributeTargetMemberAttributes = MulticastAttributes.Protected | MulticastAttributes.Internal | MulticastAttributes.Public)]
[assembly: Log(AttributePriority = 2, AttributeExclude = true, AttributeTargetMembers = "get_*" )]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment