Class SimplestFormatter

java.lang.Object
java.util.logging.Formatter
org.restlet.engine.log.SimplestFormatter

public class SimplestFormatter extends Formatter
Special log formatter that displays the actual message only. It also displays the stack trace if available. This is particularly useful for debugging.
Author:
Jerome Louvel
  • Constructor Details

    • SimplestFormatter

      public SimplestFormatter()
  • Method Details

    • format

      public String format(LogRecord record)
      Format the given LogRecord.
      Specified by:
      format in class Formatter
      Parameters:
      record - the log record to be formatted.
      Returns:
      a formatted log record