org.restlet.engine.log
Class AccessLogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by org.restlet.engine.log.AccessLogFormatter
Direct Known Subclasses:
DefaultAccessLogFormatter

public class AccessLogFormatter
extends Formatter

Log record formatter which simply outputs the message on a new line. Useful for Web-style logs.

Author:
Jerome Louvel

Constructor Summary
AccessLogFormatter()
           
 
Method Summary
 String format(LogRecord 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

AccessLogFormatter

public AccessLogFormatter()
Method Detail

format

public String format(LogRecord logRecord)
Specified by:
format in class Formatter


Copyright © 2005-2013 Restlet.