logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingo Thon <ist...@gmx.de>
Subject Re: Colorized output with ConsoleAppender
Date Mon, 06 Sep 2004 20:57:31 GMT
> If it the code is cleaned I will post it to this list.
I've now build a Layout (which extends the pattern layout).
It allows to specify in which colors the output for specific loglevel 
will appear.
You can it find under
http://www.cafebabe.info/log4j/ColoredPatternLayout.html
source
http://www.cafebabe.info/log4j/ColoredPatternLayout.java

(if there is some interest to add this class to the log4j source please 
tell me then I will make the
code a little bit better and add some more comments)

Ingo


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message