LogHelper






1.67/5 (2 votes)
Oct 9, 2006

25043

632
Log your application. I t also logs the exceptions and its stack trace.
Introduction
LogHelper
It provides the mechanism to log the content required by the user. It also logs exception if required by the user. There are different methods with which we can log any user-defined message or exceptions. All the exception will contain the details viz. Namespace name, class name, method name and its arguments.
Logging can be enabled and disabled with a single property called LoggingOn which is of boolean type.LogType property which will define which type of logging required, if false then it uses the Sstem.I/O process which generates a user-defined file type and other uses the TraceListerner class of Dot Net which creates a Log file.
For the second one to work default user folder in Document Settings should have write permission for Asp.Net user(IIS 5.0) and NetWork Service user (IIS 6.0)