net.sf.freecol.common.logging
Class TextFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by net.sf.freecol.common.logging.TextFormatter

final class TextFormatter
extends java.util.logging.Formatter

Formats a log record's data into human-readable text.


Constructor Summary
TextFormatter()
          The constructor to use.
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
          Formats the given log record's data into human-readable text.
 
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

TextFormatter

public TextFormatter()
The constructor to use.

Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Formats the given log record's data into human-readable text.

Specified by:
format in class java.util.logging.Formatter
Parameters:
record - The log record whose data needs to be formatted.
Returns:
The log record's data as a string.