Top Description Fields Constructors Methods
org.eclipse.persistence.logging

public Class LogFormatter

extends SimpleFormatter
Class Inheritance
Imports
java.io.PrintWriter, .StringWriter, java.text.MessageFormat, java.util.Date, java.util.logging.Level, .LogRecord, .SimpleFormatter, org.eclipse.persistence.internal.helper.Helper

Print a brief summary of a TopLink LogRecord in a human readable format. The summary will typically be 1 or 2 lines.

Field Summary

Modifier and TypeField and Description
private final Object[]
pack-priv Date
private static final String
private MessageFormat
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized String

Returns:

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

Overrides java.util.logging.SimpleFormatter.format.

Format the given LogRecord.

Field Detail

argsback to summary
private final Object[] args
datback to summary
pack-priv Date dat
formatback to summary
private static final String format

Hides java.util.logging.SimpleFormatter.format.

formatterback to summary
private MessageFormat formatter
lineSeparatorback to summary
private final String lineSeparator

Constructor Detail

LogFormatterback to summary
public LogFormatter()

Method Detail

formatback to summary
public synchronized String format(LogRecord record0)

Overrides java.util.logging.SimpleFormatter.format.

Format the given LogRecord.

Parameters
record0:LogRecord

the log record to be formatted.

Returns:String

a formatted log record

Annotations
@Override