Class LogSingleLineFormatter


  • public class LogSingleLineFormatter
    extends java.util.logging.Formatter
    standard colour formatter for console output
    Since:
    14 Dec 2016
    Author:
    GedMarc
    • Method Summary

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

      • LogSingleLineFormatter

        public LogSingleLineFormatter()
        The log colour formatter
    • Method Detail

      • format

        public java.lang.String format​(java.util.logging.LogRecord record)
        Formats according to level
        Specified by:
        format in class java.util.logging.Formatter
        Parameters:
        record - The log record coming in
        Returns:
        The string to render on the output