Does anyone have good information about when to register, I was thinking about registering like INFO, when I enter each C # method and write other information on exit.
Is this considered good or bad? Will performance decrease?
If I write INFO when I enter the method, the idea would be to write the method name, and the whole variable and values
Any idea how this can be done automatically without entering every value and method name, I suppose I could use reflection, but maybe I would see a slowdown here?
If reflection slows down, maybe I can just use the "REFLECTION" bit when the program is FAILS, therefore, I can write stacktrace, all the vars and values.
Any ideas or examples on this are really appreciated.
thanks
source
share