title: Best way to add logging in existing application (windows or web) .Net
body: <p>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. </p>
  
  <p>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).</p>
  
  <p>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. </p>
  
  <p>I.E. When UpdateOrder() is called , my logger should log (updated order method was called )</p>
  
  <p>Thank you</p>