I have inherited a couple of .Net applications (C #) that do not contain any traces or logging. This application does everything from creating, reading, updating and deleting records. It sends emails and calls web services.
Of course, this is a nightmare to maintain it, because there is no registration mechanism and no catch mechanism (I know that I also could not believe it).
So what would be the best way to implement registration in this system. I cannot go to every function call and add logging lines. Is there a way that I can have dynamic logging that can be logged based on the names of the methods that I provide.
those. When UpdateOrder () is called, my log should be logged (the updated order method was called)
thanks
Zeus source
share