- 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 Summary
Constructors Constructor Description XMLLogFormatter()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
format
public String format(LogRecord record0)
Format the given message to XML.- Overrides:
format
in classXMLFormatter
- Parameters:
record0
- the log record to be formatted.- Returns:
- a formatted log record
-
-