|
Log4j 1.3alpha0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.Layout | +--org.apache.log4j.HTMLLayout
org.apache.log4j.html.HTMLLayout
.
This layout outputs events in a HTML table.
Field Summary | |
protected static int |
BUF_SIZE
Deprecated. |
static java.lang.String |
LOCATION_INFO_OPTION
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term. |
protected static int |
MAX_CAPACITY
Deprecated. |
static java.lang.String |
TITLE_OPTION
Deprecated. A string constant used in naming the option for setting the the HTML document title. |
Fields inherited from class org.apache.log4j.Layout |
charArrayWriter, ignoresThrowable, LINE_SEP, LINE_SEP_LEN |
Constructor Summary | |
HTMLLayout()
Deprecated. Default constructor. |
Method Summary | |
void |
activateOptions()
Deprecated. No options to activate. |
void |
format(java.io.Writer output,
LoggingEvent event)
Deprecated. |
java.lang.String |
getContentType()
Deprecated. Returns the content type output by this layout, i.e "text/html". |
java.lang.String |
getFooter()
Deprecated. Returns the appropriate HTML footers. |
java.lang.String |
getHeader()
Deprecated. Returns appropriate HTML headers. |
boolean |
getLocationInfo()
Deprecated. Returns the current value of the LocationInfo option. |
java.lang.String |
getTitle()
Deprecated. Returns the current value of the Title option. |
void |
setLocationInfo(boolean flag)
Deprecated. The LocationInfo option takes a boolean value. |
void |
setTitle(java.lang.String title)
Deprecated. The Title option takes a String value. |
Methods inherited from class org.apache.log4j.Layout |
format, ignoresThrowable, setFooter, setHeader, setIgnoresThrowable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LOCATION_INFO_OPTION
Note that all option keys are case sensitive.
public static final java.lang.String TITLE_OPTION
protected static final int BUF_SIZE
protected static final int MAX_CAPACITY
Constructor Detail |
public HTMLLayout()
Method Detail |
public void setLocationInfo(boolean flag)
If you are embedding this layout within an SMTPAppender
then make sure to set the
LocationInfo option of that appender as well.
public boolean getLocationInfo()
public void setTitle(java.lang.String title)
Defaults to 'Log4J Log Messages'.
public java.lang.String getTitle()
public java.lang.String getContentType()
getContentType
in class Layout
public void activateOptions()
public void format(java.io.Writer output, LoggingEvent event) throws java.io.IOException
format
in class Layout
java.io.IOException
public java.lang.String getHeader()
getHeader
in class Layout
public java.lang.String getFooter()
getFooter
in class Layout
|
Log4j 1.3alpha0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |