0

I have a need to record parameter values of methods been called with in application. A kind of log. I don't want to touch the code of the running application dll, by adding a row in each method to log it. Is there any way I can some kind mechanism to capture input/ouput paramert values, by inserting logger code into the dll without touching the main source code? i am trying to achive this in C#

1 Answers1

0

You will achieve this by using AOP. Refer this link for more information.

Also have a look into this stackoverflow link.

Community
  • 1
  • 1
petchirajan
  • 4,152
  • 1
  • 18
  • 20