public static class LoggingUtilities.LogFormatter
extends java.util.logging.Formatter
SeqNum YYYY-MM-DDTHH:mm:ss.SSS Thd XX Lvl LL SourceClass.SourceMethod() SeqNum Message
SeqNum is the sequence number. XX is the ID of the thread
originating the message. LL is the message level.
SourceClass is the name of the class originating the message.
SourceMethod is the method originating the message. Leading and
trailing whitespace will be trimmed
from the message
itself.
If a Throwable
is attached to the log record, a stack trace is
printed as well.
Constructor and Description |
---|
LogFormatter()
Creates a new log formatter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
Formats a log record.
|
public java.lang.String format(java.util.logging.LogRecord record)
format
in class java.util.logging.Formatter
record
- the log record to format; may contain an attached exception,
which will also be printed.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona