org.apache.openejb.log
Class ColorFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by org.apache.openejb.log.SingleLineFormatter
          extended by org.apache.openejb.log.ColorFormatter

public class ColorFormatter
extends SingleLineFormatter


Field Summary
static String OPENEJB_LOG_COLOR_PREFIX
           
 
Constructor Summary
ColorFormatter()
           
 
Method Summary
protected  org.fusesource.jansi.Ansi prefix(LogRecord record)
           
protected  org.fusesource.jansi.Ansi suffix(org.fusesource.jansi.Ansi ansi, LogRecord record)
           
 
Methods inherited from class org.apache.openejb.log.SingleLineFormatter
format
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPENEJB_LOG_COLOR_PREFIX

public static final String OPENEJB_LOG_COLOR_PREFIX
See Also:
Constant Field Values
Constructor Detail

ColorFormatter

public ColorFormatter()
Method Detail

prefix

protected org.fusesource.jansi.Ansi prefix(LogRecord record)
Overrides:
prefix in class SingleLineFormatter

suffix

protected org.fusesource.jansi.Ansi suffix(org.fusesource.jansi.Ansi ansi,
                                           LogRecord record)
Overrides:
suffix in class SingleLineFormatter


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.