Click here to Skip to main content
15,905,558 members
Home / Discussions / C#
   

C#

 
AnswerMessage Closed Pin
18-Jan-10 18:46
stancrm18-Jan-10 18:46 
GeneralRe: Keep from erasing working code in a project Pin
tonyonlinux18-Jan-10 20:29
tonyonlinux18-Jan-10 20:29 
GeneralRe: Keep from erasing working code in a project Pin
Bekjong18-Jan-10 22:02
Bekjong18-Jan-10 22:02 
AnswerRe: Keep from erasing working code in a project Pin
Ashfield18-Jan-10 21:09
Ashfield18-Jan-10 21:09 
Questionexport .m file from text file in VS2008 Pin
mohamadali&M18-Jan-10 18:10
mohamadali&M18-Jan-10 18:10 
AnswerRe: export .m file from text file in VS2008 Pin
Ashfield18-Jan-10 21:13
Ashfield18-Jan-10 21:13 
QuestionKeyEventArgs - differentiate control chars on numeric keypad [modified] Pin
cdesmarais18-Jan-10 12:21
cdesmarais18-Jan-10 12:21 
AnswerRe: KeyEventArgs - differentiate control chars on numeric keypad Pin
Luc Pattyn18-Jan-10 16:07
sitebuilderLuc Pattyn18-Jan-10 16:07 
Questionmanaged and unmanaged code............ Pin
3bood.ghzawi18-Jan-10 10:12
3bood.ghzawi18-Jan-10 10:12 
AnswerRe: managed and unmanaged code............ Pin
Not Active18-Jan-10 11:42
mentorNot Active18-Jan-10 11:42 
QuestionHow to Select Drawn Objects Without Getting a System.Windows.Forms.Control Pin
GeniusMchlahla18-Jan-10 7:34
GeniusMchlahla18-Jan-10 7:34 
AnswerRe: How to Select Drawn Objects Without Getting a System.Windows.Forms.Control Pin
J. Dunlap18-Jan-10 13:11
J. Dunlap18-Jan-10 13:11 
GeneralRe: How to Select Drawn Objects Without Getting a System.Windows.Forms.Control Pin
GeniusMchlahla19-Jan-10 5:23
GeniusMchlahla19-Jan-10 5:23 
GeneralRe: How to Select Drawn Objects Without Getting a System.Windows.Forms.Control Pin
J. Dunlap19-Jan-10 6:27
J. Dunlap19-Jan-10 6:27 
QuestionEditing crystal reports at runtime Pin
kruegs3518-Jan-10 7:03
kruegs3518-Jan-10 7:03 
QuestionMessage Removed Pin
18-Jan-10 6:19
professionalN_tro_P18-Jan-10 6:19 
AnswerRe: Application Info and Error logging Pin
Eddy Vluggen18-Jan-10 7:19
professionalEddy Vluggen18-Jan-10 7:19 
GeneralMessage Removed Pin
18-Jan-10 8:19
professionalN_tro_P18-Jan-10 8:19 
GeneralRe: Application Info and Error logging Pin
Eddy Vluggen18-Jan-10 10:33
professionalEddy Vluggen18-Jan-10 10:33 
AnswerRe: Application Info and Error logging Pin
Not Active18-Jan-10 7:26
mentorNot Active18-Jan-10 7:26 
AnswerRe: Application Info and Error logging Pin
Bardy8518-Jan-10 8:33
Bardy8518-Jan-10 8:33 
AnswerRe: Application Info and Error logging Pin
Keith Barrow18-Jan-10 23:30
professionalKeith Barrow18-Jan-10 23:30 
Log4Net provides a good way of performing the logging you need. The speed has allways been more than adequate for my purposes.

The Log file can be configured in the app.config file and can be sent to single or multiple destinations (event log, database, text file etc), and what is logged is customisable.

Log4Net is also fail-safe (ie almost never throws and error that stops your code), which is good for trace and error logging. Logging is not guaranteed (due to the fail-safe nature, a failure results in no message) and is therefore no good for audit requirements, but once you have it is configured and tested, I've not seen a message missed so it is pretty reliable.

CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks

QuestionPhone dialer application with C# Pin
Drs201018-Jan-10 4:16
Drs201018-Jan-10 4:16 
AnswerRe: Phone dialer application with C# Pin
Covean18-Jan-10 5:36
Covean18-Jan-10 5:36 
GeneralRe: Phone dialer application with C# Pin
Drs201018-Jan-10 13:11
Drs201018-Jan-10 13:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.