Package com.google.gwt.logging.client
Class HtmlLogFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- com.google.gwt.logging.impl.FormatterImpl
-
- com.google.gwt.logging.client.HtmlLogFormatter
-
public class HtmlLogFormatter extends com.google.gwt.logging.impl.FormatterImpl
Formats LogRecords into HTML. Subclasses should override the GetHtmlPrefix and GetHtmlSuffix methods rather than format to ensure that the message is properly escaped.
-
-
Constructor Summary
Constructors Constructor Description HtmlLogFormatter(boolean showStackTraces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(java.util.logging.LogRecord event)
protected java.lang.String
getHtmlPrefix(java.util.logging.LogRecord event)
protected java.lang.String
getHtmlSuffix(java.util.logging.LogRecord event)
-
-
-
Method Detail
-
format
public java.lang.String format(java.util.logging.LogRecord event)
- Specified by:
format
in classjava.util.logging.Formatter
-
getHtmlPrefix
protected java.lang.String getHtmlPrefix(java.util.logging.LogRecord event)
-
getHtmlSuffix
protected java.lang.String getHtmlSuffix(java.util.logging.LogRecord event)
-
-