2010-12-01

XNA Log Class

I have been looking into Microsoft's XNA 4.0 for some graphics prototype development and created a simple logger class.  The logger class allows you to capture content as ASCII plaintext or color coded HTML.  The log file name is constructed at runtime making use of the applications filename and the current date and time.

Download C# source: Logger.cs
 
An example HTML stylized output is:

Test001-log-2010.12.02-12.23.35.html

No comments:

Post a Comment