Class AppLogMessageFormatter

  extended by java.util.logging.Formatter
      extended by

public class AppLogMessageFormatter
extends java.util.logging.Formatter

This class is used to format the message as passed. MessageFormat can be edited to add any prefix or suffix to log messages.

Constructor Summary
AppLogMessageFormatter(java.text.MessageFormat mf)
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
static java.lang.String getStackTrace(java.lang.Throwable t)
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public AppLogMessageFormatter(java.text.MessageFormat mf)
Method Detail


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


public static java.lang.String getStackTrace(java.lang.Throwable t)