title: C# Creating a log system
body: <p>I was reading the following article:
  <a href="http://odetocode.com/articles/294.aspx" rel="nofollow noreferrer">http://odetocode.com/articles/294.aspx</a></p>
  
  <p>This article raised me a lot of question regarding logs.
  (I don’t know if I should have made this in separated questions… but I don’t want to spam stackoverflow.com with questions of mine)</p>
  
  <p>The 1st one is if I should store it in a .txt, or .xml file… or even in a table inside the database.
  Probably saving in the .txt will be better regarding performance. But when someone needs to find something the .txt file, it may become a pain in the... neck.
  So… which one should I use, and why?</p>
  
  <p>The second one, is there any specific class to deal with “log” thing?
  I have read several threads about this subject, and I didn’t find the answers to my questions.</p>
  
  <p>Thanks in advance.</p>