net.sf.jaxodraw.logging
Class JaxoDefaultLogger.LogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by java.util.logging.SimpleFormatter
          extended by net.sf.jaxodraw.logging.JaxoDefaultLogger.LogFormatter
Enclosing class:
JaxoDefaultLogger

public static class JaxoDefaultLogger.LogFormatter
extends java.util.logging.SimpleFormatter

Formats log records in standard JaxoDraw format.


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

JaxoDefaultLogger.LogFormatter

public JaxoDefaultLogger.LogFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord rec)
Formats the given LogRecord to standard JaxoDraw format.

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


Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.