org.jppf.logging.jdk
Class JPPFLogFormatter
java.lang.Object
java.util.logging.Formatter
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPPFLogFormatter
public JPPFLogFormatter()
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.