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#
Asked
Active
Viewed 59 times
1 Answers
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
-
Is there any way I can do this without injecting any code into the dll? Kind of profiler? – user3445109 Mar 24 '14 at 06:41