uk.ac.bristol.star.cdf.util
Class LogUtil.LineFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by uk.ac.bristol.star.cdf.util.LogUtil.LineFormatter
Enclosing class:
LogUtil

public static class LogUtil.LineFormatter
extends java.util.logging.Formatter

Compact log record formatter. Unlike the default SimpleFormatter this generally uses only a single line for each record.


Constructor Summary
LogUtil.LineFormatter(boolean debug)
          Constructor.
 
Method Summary
 java.lang.String format(java.util.logging.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

LogUtil.LineFormatter

public LogUtil.LineFormatter(boolean debug)
Constructor.

Parameters:
debug - iff true, provides more information per log message
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Specified by:
format in class java.util.logging.Formatter