Module eclipselink

Class LogFormatter

java.lang.Object
java.util.logging.Formatter
java.util.logging.SimpleFormatter
org.eclipse.persistence.logging.jul.LogFormatter

public class LogFormatter extends SimpleFormatter
Print a brief summary of a TopLink LogRecord in a human-readable format. The summary will typically be 1 or 2 lines.
  • Constructor Details

    • LogFormatter

      public LogFormatter()
      Creates a new instance of TopLink LogRecord human-readable formatter.
  • Method Details

    • format

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