Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.util
Class XRSimpleLogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by org.xhtmlrenderer.util.XRSimpleLogFormatter

public class XRSimpleLogFormatter
extends java.util.logging.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
XRSimpleLogFormatter()
          Constructor for the XRSimpleLogFormatter object
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XRSimpleLogFormatter

public XRSimpleLogFormatter()
Constructor for the XRSimpleLogFormatter object

Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Format the given log record and return the formatted string.

Specified by:
format in class java.util.logging.Formatter
Parameters:
record - PARAM
Returns:
Returns

formatMessage

public java.lang.String formatMessage(java.util.logging.LogRecord record)
Localize and format the message string from a log record.

Overrides:
formatMessage in class java.util.logging.Formatter
Parameters:
record - PARAM
Returns:
Returns

getHead

public java.lang.String getHead(java.util.logging.Handler h)
Return the header string for a set of formatted records.

Overrides:
getHead in class java.util.logging.Formatter
Parameters:
h - PARAM
Returns:
The head value

getTail

public java.lang.String getTail(java.util.logging.Handler h)
Return the tail string for a set of formatted records.

Overrides:
getTail in class java.util.logging.Formatter
Parameters:
h - PARAM
Returns:
The tail value

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home