Monday, March 19, 2007

A simple console logger

A very simple class for logging output to the console. What's special about it?
  • Intended for the console only.
    • I wanted to keep the code very simple.
  • Uses colour to differentiate the log message based on type: INFO, WARN or ERROR.
  • Supports immediate or buffered output
    • All colour output is honoured in buffered mode.
    • Use Logger.Flush() to display pending output.
Get it here.

No comments: