Click here to Skip to main content
13,458,235 members
Click here to Skip to main content
Add your own
alternative version


11 bookmarked
Posted 9 Oct 2006


, 9 Oct 2006
Rate this:
Please Sign up or sign in to vote.
Log your application. I t also logs the exceptions and its stack trace.


LogHelper<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>


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.<o:p>

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)<o:p>


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
India India
I have done My MCA and working on Dot Net since 2.5 yrs

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.180323.1 | Last Updated 9 Oct 2006
Article Copyright 2006 by YoursMilu
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid