public class XRSimpleLogFormatter
extends java.util.logging.Formatter
Constructor and Description |
---|
XRSimpleLogFormatter()
Constructor for the XRSimpleLogFormatter object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
Format the given log record and return the formatted string.
|
java.lang.String |
formatMessage(java.util.logging.LogRecord record)
Localize and format the message string from a log record.
|
java.lang.String |
getHead(java.util.logging.Handler h)
Return the header string for a set of formatted records.
|
java.lang.String |
getTail(java.util.logging.Handler h)
Return the tail string for a set of formatted records.
|
public XRSimpleLogFormatter()
public java.lang.String format(java.util.logging.LogRecord record)
format
in class java.util.logging.Formatter
record
- PARAMpublic java.lang.String formatMessage(java.util.logging.LogRecord record)
formatMessage
in class java.util.logging.Formatter
record
- PARAMpublic java.lang.String getHead(java.util.logging.Handler h)
getHead
in class java.util.logging.Formatter
h
- PARAMpublic java.lang.String getTail(java.util.logging.Handler h)
getTail
in class java.util.logging.Formatter
h
- PARAM