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
Regex for number and string
Wordpreess Feed to XML file via PHP
asp.net Need to know how to remove an UnderScore from a Sring Value
Windows XP COD license
Installing an i3
Apache Alias site can't find .htaccess file
Accessing AppDelegate variable in view controller
Remove Private Calendar Invitation in Outlook 2003
Pagemaker Export to PDF in Windows 7
no previous versions in windows 7 on a windows 2003 SBS