Class LogUtil.LineFormatter

  • Enclosing class:
    LogUtil

    public static class LogUtil.LineFormatter
    extends java.util.logging.Formatter
    Compact log record formatter. Unlike the default SimpleFormatter this generally uses only a single line for each record.
    • Constructor Summary

      Constructors 
      Constructor Description
      LineFormatter​(boolean debug)
      Constructor.
    • Method Summary

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

      • LineFormatter

        public LineFormatter​(boolean debug)
        Constructor.
        Parameters:
        debug - iff true, provides more information per log message
    • Method Detail

      • format

        public java.lang.String format​(java.util.logging.LogRecord record)
        Specified by:
        format in class java.util.logging.Formatter