org.jppf.logging.jdk
Class JPPFLogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by org.jppf.logging.jdk.JPPFLogFormatter

public class JPPFLogFormatter
extends Formatter

Formats log records in format [yyyy/MM/dd hh:mm:ss.SSS][LEVEL][package.ClassName.method()]: message.

Author:
Laurent Cohen

Constructor Summary
JPPFLogFormatter()
           
 
Method Summary
 String format(LogRecord record)
          Format a log record.
 
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

JPPFLogFormatter

public JPPFLogFormatter()
Method Detail

format

public String format(LogRecord record)
Format a log record.

Specified by:
format in class Formatter
Parameters:
record - the record to format.
Returns:
a string representation of the record according to this formatter.
See Also:
Formatter.format(java.util.logging.LogRecord)


Copyright © 2005-2010 JPPF Team.