Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Feb 07, 2010 08:33 PM|LINK
what is perpose of Enterprise Logging block over .NET default Tracing?
Logging applicaiton block allows you to simply configure and log any type of data(Events, Exceptions, Events data or any other data you wish to log from your application). It allows to simply configure and log to desired location as
In simple words 'It is readily available application block that allows a developer to customise and configure to Log valuable data to desired locations with simple configurations.
.NET Default Trace
It is quite feasible to utilise available .NET Trace methods with properties to log data. But when it comes to logging data other than
Windows Events it demands more plumbling. You got to write your code to log data into desired locations such as Database / Email / Log files.
Being said the above using ASP.NET HealthMonitoring configuration it is feasible to log ASP.NET web application events (to monitor various events of web application) as explained by Chris Pels in this video tutorial
Enterprise Library application blocks are reusable software components to meet day to day application requirements. Even though it is feasible to utilise .NET Default Tracing, you got to implement lot more work flow when you want to log
information other than windows events.