org.eclipse.persistence.logging
Class XMLLogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by java.util.logging.XMLFormatter
          extended by org.eclipse.persistence.logging.XMLLogFormatter

public class XMLLogFormatter
extends XMLFormatter

Format a TopLink LogRecord into a standard XML format.


Constructor Summary
XMLLogFormatter()
           
 
Method Summary
 String format(LogRecord record0)
          Format the given message to XML.
 
Methods inherited from class java.util.logging.XMLFormatter
getHead, getTail
 
Methods inherited from class java.util.logging.Formatter
formatMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLLogFormatter

public XMLLogFormatter()
Method Detail

format

public String format(LogRecord record0)
Format the given message to XML.

Overrides:
format in class XMLFormatter
Parameters:
record - the log record to be formatted.
Returns:
a formatted log record