org.eclipse.persistence.logging
Class FastLogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by java.util.logging.SimpleFormatter
          extended by org.eclipse.persistence.logging.FastLogFormatter

public final class FastLogFormatter
extends java.util.logging.SimpleFormatter

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

Author:
laurent bourges (voparis) : bourges.laurent@gmail.com

Field Summary
static char PAR_CLOSE_CHAR
          ')' character
static char PAR_OPEN_CHAR
          '(' character
static char SPACE_CHAR
          ' ' character
 
Constructor Summary
FastLogFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord pRecord)
          Format the given LogRecord.
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAR_OPEN_CHAR

public static final char PAR_OPEN_CHAR
'(' character

See Also:
Constant Field Values

PAR_CLOSE_CHAR

public static final char PAR_CLOSE_CHAR
')' character

See Also:
Constant Field Values

SPACE_CHAR

public static final char SPACE_CHAR
' ' character

See Also:
Constant Field Values
Constructor Detail

FastLogFormatter

public FastLogFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord pRecord)
Format the given LogRecord.

Overrides:
format in class java.util.logging.SimpleFormatter
Parameters:
pRecord - the log record to be formatted.
Returns:
a formatted log record