dist1.acb.common
Class NiceFormatter

java.lang.Object
  extended byjava.util.logging.Formatter
      extended bydist1.acb.common.NiceFormatter

public class NiceFormatter
extends java.util.logging.Formatter

Alternative formatter for text output

Author:
Alexander Stasiv

Constructor Summary
NiceFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
          Format the given log record and return the formatted string.
 
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

NiceFormatter

public NiceFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Format the given log record and return the formatted string. The resulting formatted String will normally include a localized and formated version of the LogRecord's message field. The Formatter.formatMessage convenience method can (optionally) be used to localize and format the message field.

Parameters:
record - the log record to be formatted
Returns:
the formatted log record


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.