public class SphinxLogFormatter
extends java.util.logging.Formatter
java.util.logging.ConsoleHandler.formatter to edu.cmu.sphinx.util.SphinxLogFormatter
This is typically done in a custom loger.properties file
| Constructor and Description |
|---|
SphinxLogFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
Formats the given log record and return the formatted string.
|
boolean |
getTerse()
Retrieves the level of output
|
void |
setTerse(boolean terse)
Sets the level of output
|
public void setTerse(boolean terse)
terse - if true, the output level should be tersepublic boolean getTerse()
public java.lang.String format(java.util.logging.LogRecord record)
format in class java.util.logging.Formatterrecord - the record to format