|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Formatter
de.goerntkai.toolbox.log.FileFormatter
The FileFormatter
displays almost any information coming
from the log record. The information which is changing the least often is
found on the leftmost position. The information changing most often is found
on the rightmost position. That helps keeping the columns in line and gives
a better overview when reading the log.
The parameterlist is only displayed in case that the log level is
ALL
, FINER
, FINEST
,
WARNING
or SEVERE
.
Any given Throwable
is displayed only by its message. In
case that the log level is ALL
, FINEST
,
WARNING
or SEVERE
the Throwable
will
be listed with its stack trace trailing.
Constructor Summary | |
FileFormatter()
Standard Constructor. |
Method Summary | |
java.lang.String |
format(java.util.logging.LogRecord theRecord)
Formats the log output. |
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 |
public FileFormatter()
Standard Constructor.
Method Detail |
public final java.lang.String format(java.util.logging.LogRecord theRecord)
Formats the log output.
theRecord
- to format
Formatter.format(java.util.logging.LogRecord)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |