title: log4j 2 adding multiple colors to console appender
body: <p>Hi I just downloaded and configured log4j-2. I am stuck on applying color codes to the <code>SlowConsole</code> console appender. My console appender is like below.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Configuration status="WARN"&gt;
      &lt;Appenders&gt;
          &lt;Console name="Console" target="SYSTEM_OUT"&gt;
              &lt;PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n"/&gt;
          &lt;/Console&gt;
          &lt;Console name="SlowConsole" target="SYSTEM_OUT"&gt;
              &lt;PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} %-5level %logger{36}.%M() @%L - %msg%n}{FATAL=red, ERROR=red, WARN=yellow, INFO=black, DEBUG=green, TRACE=blue}"/&gt;
          &lt;/Console&gt;
          &lt;File name="File" fileName="C:\log\out.txt"&gt;
              &lt;PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n" /&gt;
          &lt;/File&gt;
      &lt;/Appenders&gt;
      &lt;Loggers&gt;
          &lt;logger name="org.abc.ea.web" level="ALL" additivity="false"&gt;
              &lt;!--Log4j for the WEB MODULE --&gt;
              &lt;appender-ref ref="SlowConsole"/&gt;
          &lt;/logger&gt;
          &lt;logger name="org.abc.ea.ejb" level="ALL" additivity="false"&gt;
              &lt;!--Log4j for the EJB MODULE --&gt;
              &lt;appender-ref ref="SlowConsole"/&gt;
          &lt;/logger&gt;
          &lt;Root level="ERROR"&gt;
              &lt;AppenderRef ref="Console"/&gt;
              &lt;AppenderRef ref="File" /&gt;
          &lt;/Root&gt;
      &lt;/Loggers&gt;
  &lt;/Configuration&gt;
  </code></pre>
  
  <p>I have two questions,</p>
  
  <ol>
  <li><p>I am new to log4j, is this the right way to write xml config file?</p></li>
  <li><p>How can i add two color codes to each log level?</p>
  
  <p>for example: DEBUG=green -> will output light green font, But i need it to be <code>dim</code> and <code>bold</code></p></li>
  </ol>