Enterprise Library Logging Application Block Basics

  • Thread starter Thread starter Anup Daware
  • Start date Start date
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
 
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!
 
Back
Top