Best/Preferred way to log to the console

Topics: Logging Application Block
Apr 13, 2007 at 6:28 AM
I want to log to the console. I guess I could adopt the debugtracelistener for that.
Now suppose based on the category, I would like to change the console color while logging? e.g. red for error category
What is the way to go?