Documentation of 'cc.mallet.util.ProgressMessageLogFormatter' Java class
ProgressMessageLogFormatter
cc.mallet.util

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 and 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

        equals, 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)
        Overrides:
        format in class java.util.logging.SimpleFormatter

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.