Class SimplerFormatter

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

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

    • SimplerFormatter

      public SimplerFormatter()
  • 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