Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.logging
Class MessageFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by de.lmu.ifi.dbs.elki.logging.MessageFormatter

public class MessageFormatter
extends Formatter

A formatter to simply retrieve the message of an LogRecord without printing origin information. Usually, the formatter will try to ensure a newline at the end.

Author:
Arthur Zimek

Constructor Summary
MessageFormatter()
          Provides a message formatter to simply retrieve the message of an LogRecord.
 
Method Summary
 String format(LogRecord record)
          Retrieves the message as it is set in the given LogRecord.
 
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

MessageFormatter

public MessageFormatter()
Provides a message formatter to simply retrieve the message of an LogRecord.

Method Detail

format

public String format(LogRecord record)
Retrieves the message as it is set in the given LogRecord.

Specified by:
format in class Formatter

Release 0.3 (2010-03-31_1612)