org.ow2.util.log
Class JDKFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by org.ow2.util.log.JDKFormatter

public class JDKFormatter
extends java.util.logging.Formatter

Format a record into a readable message ! not too long.

Author:
Florent Benoit

Constructor Summary
JDKFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord logRecord)
          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

JDKFormatter

public JDKFormatter()
Method Detail

format

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

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


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.