Hi guys,
I have inherited couple of .Net (C#) application which does not have any tracing or logging added to it. This application does everything from Creating , Reading , Updating and deleting records. It sends email and calls web services.
Of course it is a nightmare to maintain it because there is no logging and no try catch mechanism (I know I could not believe it either).
So what would be the best way of implementing logging in this system. I can not go to every function call and add logging lines. Is there some way where I can have dynamic logging which can log based on the method names I provide.
I.E. When UpdateOrder() is called , my logger should log (updated order method was called )
Thank you