Restlet Framework 2.2.3
Google App Engine

org.restlet.engine.log
Class SimplerFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by 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 Summary
SimplerFormatter()
           
 
Method Summary
 String format(LogRecord record)
          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
 

Constructor Detail

SimplerFormatter

public SimplerFormatter()
Method Detail

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

Restlet Framework 2.2.3
Google App Engine

Copyright © 2005-2014 Restlet.