org.restlet.engine.log
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplerFormatter
public SimplerFormatter()
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
Copyright © 2005-2013 Restlet.