Top Description Constructors Methods
org.eclipse.persistence.logging

public Class XMLLogFormatter

extends XMLFormatter
Class Inheritance
Annotations
@SuppressWarnings:deprecation
Imports
java.util.*, java.util.logging.XMLFormatter, .LogRecord, .Level

Format a TopLink LogRecord into a standard XML format.

Constructor Summary

AccessConstructor and Description
public
XMLLogFormatter()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
private void
a2(StringBuffer sb, int x)

private void
appendISO8601(StringBuffer sb, long millis)

private void
public String

Returns:

a formatted log record
format
(LogRecord
the log record to be formatted.
record0
)

Overrides java.util.logging.XMLFormatter.format.

Format the given message to XML.
Inherited from java.util.logging.XMLFormatter:
getHeadgetTail

Constructor Detail

XMLLogFormatterback to summary
public XMLLogFormatter()

Default constructor.

Method Detail

a2back to summary
private void a2(StringBuffer sb, int x)
appendISO8601back to summary
private void appendISO8601(StringBuffer sb, long millis)
escapeback to summary
private void escape(StringBuffer sb, String text)
formatback to summary
public String format(LogRecord record0)

Overrides java.util.logging.XMLFormatter.format.

Format the given message to XML.

Parameters
record0:LogRecord

the log record to be formatted.

Returns:String

a formatted log record

Annotations
@Override