Click here to Skip to main content
Licence 
First Posted 9 Oct 2006
Views 11,936
Bookmarked 11 times

LogHelper

By | 9 Oct 2006 | Article
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

About the Author

YoursMilu

Web Developer

India India

Member

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

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 9 Oct 2006
Article Copyright 2006 by YoursMilu
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid