com.mays.util
Class SingleLineFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by java.util.logging.SimpleFormatter
          extended by com.mays.util.SingleLineFormatter

public class SingleLineFormatter
extends SimpleFormatter

Log on a single line with less verbosity.

Author:
Eric Mays

Constructor Summary
SingleLineFormatter()
           
 
Method Summary
 String format(LogRecord rec)
          Show 24hr time, level, message, and class.method.
 
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 rec)
Show 24hr time, level, message, and class.method. Tabs appear around the message for easier post processing and console reading.

Overrides:
format in class SimpleFormatter
See Also:
SimpleFormatter.format(java.util.logging.LogRecord)