Standard Logging in C# / .NET

July 30, 2009 – 10:02 pm

For a discussion with some collegues I whipped up a little reference sheet on how to implement logging using the standard System.Diagnostics.Trace class. It works out-of-the box so no extra frameworks are required.

Despite my effort we went with the standard log4net way. For the ones interested in frameworkless logging, this refsheet might be handy.
The sheet is available for download: wt-logging.pdf.

  1. One Response to “Standard Logging in C# / .NET”

  2. Great post, thanks for the sheet :) For those who want log4net logging : http://www.brutusonline.nl/?p=347

    (the post is in Dutch, but I’m working on it…)

    By Bert-Jan Diedering on Aug 4, 2009

Post a Comment