Enterprise Library Logging Application Block Basics

A

Anup Daware

Hi Group,

Can somebody tell me where I can find the internals of Logging
application block 2.0/3.0.
I need answers for the questions like:
What best practices have followed in the implementation of logging
application block?
Is buffered writing is supported by this block?
Does it write synchronously or asynchronously to the specified
destination?
Like, let's say I am writing the log in the database then do I have to
wait for completion of logging process or it is done asynchronously,
so does my current thread do this for me or logging is handled by a
separate thread?
Any other benefits I get by using the logging application block?
Why shouldn't I for Log4Net of my own logger and use the enterprise
library Logging Application Block?

Any clue or even a link addressing these issues will be a great help

Thanks,
Anup Daware
 
A

Aneesh P

Hi Group,

Can somebody tell me where I can find the internals of Logging
application block 2.0/3.0.
I need answers for the questions like:
What best practices have followed in the implementation of logging
application block?
Is buffered writing is supported by this block?
Does it write synchronously or asynchronously to the specified
destination?
Like, let's say I am writing the log in the database then do I have to
wait for completion of logging process or it is done asynchronously,
so does my current thread do this for me or logging is handled by a
separate thread?
Any other benefits I get by using the logging application block?
Why shouldn't I for Log4Net of my own logger and use the enterprise
library Logging Application Block?

Any clue or even a link addressing these issues will be a great help

Thanks,
Anup Daware

Nice tutor on codeproject:
http://www.codeproject.com/dotnet/GetLoggingWithEntLib.asp

Sample from Gotdotnet:
http://www.gotdotnet.com/Community/...mpleGuid=3685caae-0e0f-4ccc-a87b-93ec8ff1e5ae

Other links:
http://blog.hishambaz.com/archive/2005/01/30/202.aspx
http://blog.hishambaz.com/archive/2005/02/05/253.aspx
http://blog.hishambaz.com/archive/2005/02/14/317.aspx
http://www.codeproject.com/dotnet/GetLoggingWithEntLib.asp
http://codebetter.com/blogs/david.hayden/archive/2005/03/17/59974.aspx
http://staff.southworks.net/blogs/matiaswoloski/archive/2005/03/24/6.aspx
http://weblogs.asp.net/cumpsd/archive/2005/04/09/397833.aspx


This link gives comparison - Log4Net and Logging library:
http://weblogs.asp.net/lorenh/archive/2005/02/18/376191.aspx

Hope this helps.
Good Luck!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top