How do Trace and write log files in ASP.NET2.0?
I have the logfile options at Admin console (drop down menu) to --1.None,
3.Complete and their corresponding global values are 0, 1 and 2.
If the global value is 0 (None)then I do not track any logs.
If the global value is 1 (Medium)then I must do the following:
Beginning of the each routine, log the name of the procedure and all passing parameters on to the log file.
End of the routine log the name of the procedure and processed value.
If the global value is 2 (Complete)then then I must do the following:
In addition to Medium level of Log as stated above , do the following,
Every major operation of the routine (example before getting any value log the entry and value and after getting the value log the value – detailed log ).
How to do this kind of logging? Please give me an Overview.
Arun kishore K