As mentioned this morning, I factored the ColorConsoleTraceListener code into a seperate assembly and added config support. It’s pretty simple, but I find it useful. Let me know if you do too.

Download DevHawk.ColorConsoleTraceListener here.


Hi your code is currently not thread safe. There is a possibility that tracing information is written in the wrong color. The color is retrieved from the configuration section for each trace statement. Better to optimize this by at least referencing the section from a data member so that a string lookup isn't necessary. Just my two cents :)