Restlet Framework 2.2.3
Android

org.restlet.engine.log
Class SimplestFormatter

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

public class SimplestFormatter
extends java.util.logging.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 Summary
SimplestFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.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

SimplestFormatter

public SimplestFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Format the given LogRecord.

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

Restlet Framework 2.2.3
Android

Copyright © 2005-2014 Restlet.