org.apache.openejb.log
Class SingleLineFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by org.apache.openejb.log.SingleLineFormatter
Direct Known Subclasses:
ColorFormatter

public class SingleLineFormatter
extends Formatter


Constructor Summary
SingleLineFormatter()
           
 
Method Summary
 String format(LogRecord record)
           
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 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
 

Constructor Detail

SingleLineFormatter

public SingleLineFormatter()
Method Detail

format

public String format(LogRecord record)
Specified by:
format in class Formatter

prefix

protected org.fusesource.jansi.Ansi prefix(LogRecord record)

suffix

protected org.fusesource.jansi.Ansi suffix(org.fusesource.jansi.Ansi ansi,
                                           LogRecord record)


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