What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 2904 |  Welcome, Guest!   Register  Login
 Home > Forums > C# > C# Logging - Implementation ...
Nagasundar_Tn

C# Logging - Implementation

Replies: 6 | Posted by: Nagasundar_Tn on 7/24/2012 | Category: C# Forums | Views: 485 | Status: [Member] | Points: 10  


Hi Experts


I would like to log the errors for my application in server. Can anyone please explain me what would be best way for logging ? Should I go for Microsoft Enterprise Library? Please suggest me with explanation...

Regards,
T.N.Nagasundar


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Ranjeet_8
Ranjeet_8  
Posted on: 7/24/2012 7:36:47 AM
Level: Gold | Status: [Member] | Points: 25

Nagasundar_Tn, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Rohitkum30
Rohitkum30  
Posted on: 7/27/2012 6:35:09 AM
Level: Starter | Status: [Member] | Points: 25

You Can use Log4Net for Logging.
Log4net is an open source library that allows .NET applications to log output to a variety of sources (e.g., The console, SMTP or files).
Log4net provides a simple mechanism for logging information to a variety of sources. Information is logged via one or more loggers. These loggers provide 5 levels of logging:

1.Debug
2.Information
3.Warnings
4.Error
5.Fatal

Nagasundar_Tn, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

CGN007
CGN007  
Posted on: 7/30/2012 8:56:41 AM
Level: Silver | Status: [Member] | Points: 25


use Log4Net (http://logging.apache.org/log4net/)
http://www.codeproject.com/Articles/140911/log4net-Tutorial

Nagasundar_Tn, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

CGN007
CGN007  
Posted on: 7/31/2012 4:49:09 AM
Level: Silver | Status: [Member] | Points: 25

Nagasundar_Tn, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

CGN007
CGN007  
Posted on: 7/31/2012 4:50:26 AM
Level: Silver | Status: [Member] | Points: 25

One more link to refer http://www.netrostar.com/Howtouselogging

Nagasundar_Tn, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

CGN007
CGN007  
Posted on: 7/31/2012 9:36:48 AM
Level: Silver | Status: [Member] | Points: 25

Mark as answer if it helps...,That motivates...!!!

Nagasundar_Tn, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 5:43:30 AM