Class BasicFormatter

java.lang.Object
java.util.logging.Formatter
com.ibm.j9ddr.logging.BasicFormatter

public class BasicFormatter extends Formatter
Simple java.util.logging formatter than minimises the amount of java.util.logging meta-data that is printed.
  • Constructor Details

    • BasicFormatter

      public BasicFormatter()
  • Method Details

    • format

      public String format(LogRecord record)
      Description copied from class: java.util.logging.Formatter
      Format the given log record and return the formatted string.

      The resulting formatted String will normally include a localized and formatted version of the LogRecord's message field. It is recommended to use the Formatter.formatMessage(java.util.logging.LogRecord) convenience method to localize and format the message field.

      Specified by:
      format in class Formatter
      Parameters:
      record - the log record to be formatted.
      Returns:
      the formatted log record