Class XMLLogFormatter

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

public class XMLLogFormatter extends XMLFormatter

Format a TopLink LogRecord into a standard XML format.

  • Constructor Details

    • XMLLogFormatter

      public XMLLogFormatter()
      Default constructor.
  • Method Details

    • format

      public String format(LogRecord record0)
      Format the given message to XML.
      Overrides:
      format in class XMLFormatter
      Parameters:
      record0 - the log record to be formatted.
      Returns:
      a formatted log record