Click here to Skip to main content
Click here to Skip to main content
Go to top

LogHelper

, 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.

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)

License

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

Share

About the Author

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

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web04 | 2.8.140905.1 | Last Updated 9 Oct 2006
Article Copyright 2006 by YoursMilu
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid