I am implementing AOP based logging using Postsharp. I am following https://doc.postsharp.net/add-logging but this does not enlist all information . This is what I have done so far to use Postsharp with loupe [Loupe is capturing information without any issue , but Postsharp detailed logging is not working]
GlobalASpects.cs
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_*" )]
Program.cs
Then I have regular TestController with sample code just to test out code .If I look at Loupe it logs some information by default*(which it logs eventhough if i remove postsharp specific code)*
Question here is how to make it work for ASP.net core webapi or what am I missing for default postsharp logging ?