Class CompactFormatter


  • public class CompactFormatter
    extends java.util.logging.Formatter
    Formatter for compact log messages.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.util.logging.LogRecord record)
      Formats a log record according in a compact manner.
      • 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

      • CompactFormatter

        public CompactFormatter()
    • Method Detail

      • format

        public java.lang.String format​(java.util.logging.LogRecord record)
        Formats a log record according in a compact manner. The parts of the package name between the dots are abbreviated with their first letter. Timestamps are displayed as 24h UTC+0. yyyy-MM-dd HH:mm:ss.SSS LEVEL [c.e.ClassName] The message.
        Specified by:
        format in class java.util.logging.Formatter