Package com.openhtmltopdf.util
Class XRSimpleLogFormatter
java.lang.Object
java.util.logging.Formatter
com.openhtmltopdf.util.XRSimpleLogFormatter
public class XRSimpleLogFormatter extends Formatter
A java.util.logging.Formatter class that writes a bare-bones log messages,
with no origin class name and no date/time.
- Author:
- Patrick Wright
-
Constructor Summary
Constructors Constructor Description XRSimpleLogFormatter()Constructor for the XRSimpleLogFormatter object -
Method Summary
Modifier and Type Method Description Stringformat(LogRecord record)Format the given log record and return the formatted string.StringformatMessage(LogRecord record)Localize and format the message string from a log record.StringgetHead(Handler h)Return the header string for a set of formatted records.StringgetTail(Handler h)Return the tail string for a set of formatted records.
-
Constructor Details
-
XRSimpleLogFormatter
public XRSimpleLogFormatter()Constructor for the XRSimpleLogFormatter object
-
-
Method Details
-
format
Format the given log record and return the formatted string. -
formatMessage
Localize and format the message string from a log record.- Overrides:
formatMessagein classFormatter- Parameters:
record- PARAM- Returns:
- Returns
-
getHead
Return the header string for a set of formatted records. -
getTail
Return the tail string for a set of formatted records.
-