Package elki.logging

Class MessageFormatter


  • public class MessageFormatter
    extends java.util.logging.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.
    Since:
    0.1
    Author:
    Arthur Zimek
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageFormatter()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.util.logging.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()
        Constructor.
    • Method Detail

      • format

        public java.lang.String format​(java.util.logging.LogRecord record)
        Retrieves the message as it is set in the given LogRecord.
        Specified by:
        format in class java.util.logging.Formatter