Title: Message
The first bit I am working on right now is how to determine what each level does.
DEBUG - Add this to your code when you want to be able to check the state of the app at runtime without debugger
INFO: (Less than Debug)
WARN: ?
ERROR: I am putting these in my Catch blocks
FATAL: I put this in my outer most class (The actual Form or Webpage) that way I can catch showstoppers here.


From: Dru Sellers [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 5:35 PM
To: 'Log4NET User'
Subject: Logging Best Practices

Just picked up log4net.  Anyone have any good links for how to log your code. I have never done this before and have no reference material either. Any real life "insert logging code here in your app" links would be great.
 
Dru

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004

Reply via email to