public class RepositoryImportHTMLLayout
extends org.apache.log4j.Layout
Modifier and Type | Field and Description |
---|---|
protected static int |
BUF_SIZE |
protected static String |
fontCss |
protected static int |
MAX_CAPACITY |
protected static String |
thCss |
Constructor and Description |
---|
RepositoryImportHTMLLayout(org.apache.log4j.Level loggerLogLevel) |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions()
No options to activate.
|
String |
format(org.apache.log4j.spi.LoggingEvent event) |
String |
getContentType()
Returns the content type output by this layout, i.e "text/html".
|
String |
getFooter()
Returns the appropriate HTML footers.
|
String |
getHeader()
Returns appropriate HTML headers.
|
String |
getTitle()
Returns the current value of the Title option.
|
boolean |
ignoresThrowable()
The HTML layout handles the throwable contained in logging events.
|
void |
setTitle(String title)
The Title option takes a String value.
|
protected static final int BUF_SIZE
protected static final int MAX_CAPACITY
protected static final String fontCss
protected static final String thCss
public RepositoryImportHTMLLayout(org.apache.log4j.Level loggerLogLevel)
public void setTitle(String title)
Defaults to 'Log4J Log Messages'.
public String getTitle()
public String getContentType()
getContentType
in class org.apache.log4j.Layout
public void activateOptions()
public String format(org.apache.log4j.spi.LoggingEvent event)
format
in class org.apache.log4j.Layout
public String getHeader()
getHeader
in class org.apache.log4j.Layout
public String getFooter()
getFooter
in class org.apache.log4j.Layout
public boolean ignoresThrowable()
false
.ignoresThrowable
in class org.apache.log4j.Layout
Copyright © 2018 Hitachi Vantara. All rights reserved.