net.sf.jaxodraw.logging
Class LogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by java.util.logging.SimpleFormatter
          extended by net.sf.jaxodraw.logging.LogFormatter

public class LogFormatter
extends SimpleFormatter

Formats log records in standard JaxoDraw format.


Constructor Summary
LogFormatter()
           
 
Method Summary
 String format(LogRecord rec)
          Formats the given LogRecord to standard JaxoDraw format.
 
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

LogFormatter

public LogFormatter()
Method Detail

format

public String format(LogRecord rec)
Formats the given LogRecord to standard JaxoDraw format.

Overrides:
format in class SimpleFormatter
Parameters:
rec - the LogRecord to format.
Returns:
the formatted LogRecord.


Copyright © 2003-2011 The JaxoDraw team. All Rights Reserved.