My Postsharp tracer attribute logs some classes/methods but not others -


background

i'm using postsharp version 3.0.42.9 , have created custom tracer attribute (onmethodboundaryaspect). have applied @ assembly level of webforms project this:

[assembly: mylogging.tracer(attributepriority = 1)] [assembly: mylogging.tracer(attributeexclude = true, attributetargetmembers = "regex:^get_|^set_", attributepriority = 2)] 

the tracer logs entry method arguments , exit return value. i'm using nlog write log entries database table.

i have following 2 classes in separate files in same folder of same project in solution , in same namespace:

public class classa : iclassa {     public operationresult performoperation(ienumerable<somedto> parameters)     {         var classb = new classb();         return classb.anotheroperation(parameters);     }         }  //in different file public class classb {     public operationresult anotheroperation(ienumerable<somedto> parameters)     {         //do stuff         return operationresult;     } } 

classa instantiated , invoked aspx page.

problem

i logs expected methods in classa such performoperation , aspx page, nothing gets logged methods in classb.

any appreciated.

i logging database table , 1 of columns not large enough hold data. when turned on internal logging nlog put me on track resolve issue. not caused postsharp.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -