Microsoft
Software
Hardware
Network
Question : C#, general purpose logging
Your opinion is most welcome.
Before we begin to develop softare we are looking for a general purpose logging approach. I’m just wondering what others are using and why?
To date, we have considered these.
Performance is not a strong consideration.
•Trace Listener :
http://msdn.microsoft.com/
en-us/libr
ary/
system
.diagnosti
cs.traceli
stener.asp
x
•System.IO.Log :
http://msdn.microsoft.com/
en-us/libr
ary/system
.io.log.as
px
•TraceSwitch :
http://msdn.microsoft.com/
en-us/libr
ary/
system
.diagnosti
cs.tracesw
itch.aspx
• Logging Application Block which can be found at :
http://msdn.microsoft.com/
en-us/libr
ary/ff6471
83.aspx
• Log4net which can be found at :
http://logging.apache.org/
log4net/
Answer : C#, general purpose logging
We use two seperate methods for logging, which is Log4Net (general application logging, and used for some services). And of course Event Viewer, which is a simple way to implement it (Log4Net also has the capability to log to EV).
Random Solutions
How set a limit number of caracters for an independant TextBox in a Form
Looking for bicycle cadence indicator using colored LEDs to show speed
Question about BATCH file - stored values??
avoiding spam list
adding sudo info to my lastlogin's report
Difference between 3G and 3G Broadband
VB.net 2008 Close an OpenRead
What is best way to transfer Settings and Files from one XP Prof. to a new XP Prof. PC
Java Script to Open a program from hard-drive from IE8
Increment values based on other column value