de.lmu.ifi.dbs.elki.logging
Class MessageFormatter
java.lang.Object
java.util.logging.Formatter
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.
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageFormatter
public MessageFormatter()
- Provides a message formatter to simply retrieve the message of an
LogRecord.
format
public String format(LogRecord record)
- Retrieves the message as it is set in the given LogRecord.
- Specified by:
format
in class Formatter