uk.ac.starlink.topcat
Class LineFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by uk.ac.starlink.topcat.LineFormatter

public class LineFormatter
extends Formatter

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

Since:
16 June 2005
Author:
Mark Taylor (Starlink)

Constructor Summary
LineFormatter(boolean debug)
          Constructor.
 
Method Summary
 String format(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

LineFormatter

public LineFormatter(boolean debug)
Constructor.

Parameters:
debug - true iff additional debugging information should be included with logging messages
Method Detail

format

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


Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.