de.grogra.util
Class HTMLLoggingFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by de.grogra.util.HTMLLoggingFormatter

public class HTMLLoggingFormatter
extends java.util.logging.Formatter


Field Summary
protected  I18NBundle i18n
           
protected  java.awt.Dimension iconSize
           
 
Constructor Summary
HTMLLoggingFormatter(I18NBundle i18n, java.awt.Dimension iconSize)
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord log)
           
 java.lang.String getHead(java.util.logging.Handler h)
           
 java.lang.String getTail(java.util.logging.Handler h)
           
 
Methods inherited from class java.util.logging.Formatter
formatMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i18n

protected final I18NBundle i18n

iconSize

protected final java.awt.Dimension iconSize
Constructor Detail

HTMLLoggingFormatter

public HTMLLoggingFormatter(I18NBundle i18n,
                            java.awt.Dimension iconSize)
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord log)
Specified by:
format in class java.util.logging.Formatter

getHead

public java.lang.String getHead(java.util.logging.Handler h)
Overrides:
getHead in class java.util.logging.Formatter

getTail

public java.lang.String getTail(java.util.logging.Handler h)
Overrides:
getTail in class java.util.logging.Formatter