Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cc.mallet.util
Class ProgressMessageLogFormatter

    java.lang.Object
      java.util.logging.Formatter
          java.util.logging.SimpleFormatter
              cc.mallet.util.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.

Constructor Summary
`ProgressMessageLogFormatter()`

Method Summary
`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)

  Overrides:
    `format` in class `java.util.logging.SimpleFormatter`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD