Class ProgressMessageLogFormatter

  • public class ProgressMessageLogFormatter
    extends java.util.logging.SimpleFormatter
    Format ProgressMessages destined for screen. Progress messages are repetitive messages, of which only the last one is generally of interest. Progress messages are a subclass of LogRecord, generated by a progressMessageLogger. When printing a progress message, we carriage return but supress the line-feed. If we get a message that is not a progressMessage, print it the same way PlainLogFormatter does. todo: capture the formatter that was on the console (usually a plainlogformatter) and defer to it when needed.
    • 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

      • ProgressMessageLogFormatter

        public ProgressMessageLogFormatter()
    • Method Detail

      • format

        public java.lang.String format​(java.util.logging.LogRecord record)
        format in class java.util.logging.SimpleFormatter