You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2012/10/01 01:28:29 UTC
svn commit: r1392131 -
/logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml
Author: rgoers
Date: Sun Sep 30 23:28:28 2012
New Revision: 1392131
URL: http://svn.apache.org/viewvc?rev=1392131&view=rev
Log:
Add note about Jansi jar
Modified:
logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml?rev=1392131&r1=1392130&r2=1392131&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml Sun Sep 30 23:28:28 2012
@@ -704,6 +704,12 @@
</tr>
<caption align="top">Pattern Converters</caption>
</table>
+ <h4>ANSI Styling on Windows</h4>
+ <p>
+ ANSI escape sequences are supported natively on many platforms but are not by default on Windows. To
+ enable ANSI support simply add the <a href="http://jansi.fusesource.org/">Jansi</a> jar to your
+ application and Log4j will automatically make use of it when writing to the console.
+ </p>
<h4>Example Patterns</h4>
<h5>Ansi Styled</h5>
<p>The log level will be highlighted according to the event's log level. All the content that follows