Home > Net > In a class c # realize monitoring function execution information.
In a class c # realize monitoring function execution information.
Time:09-20
Recently in looking for monitoring a class method is executed in the realization of information, over and over just can't baidu to related content, at sixes and sevens without a satisfactory, so we have to send a for help, request a great god give directions!!!!!!
One thought with TraceSource (pointed out in this class in Microsoft's official document traceability program execution) class, Process, tried not too will use, also because of busy tasks without further down, request a great god, beg god give directions!
Specific ideas as shown in the figure below:
CodePudding user response:
Google: PostSharp has
CodePudding user response:
There are many lightweight AOP libraries in nuget Literally with a can