Class EventDetailLayout
java.lang.Object
org.apache.log4j.Layout
org.apache.log4j.chainsaw.layout.EventDetailLayout
- All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler
public class EventDetailLayout
extends org.apache.log4j.Layout
This layout is used for formatting HTML text for use inside
the Chainsaw Event Detail Panel, and the tooltip used
when mouse-over on a particular log event row.
It relies an an internal PatternLayout to accomplish this, but ensures HTML characters from any LoggingEvent are escaped first.
- Author:
- Paul Smith <psmith@apache.org>
-
Field Summary
Fields inherited from class org.apache.log4j.Layout
LINE_SEP, LINE_SEP_LEN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidformat(org.apache.log4j.spi.LoggingEvent event) booleanvoidsetConversionPattern(String conversionPattern) Methods inherited from class org.apache.log4j.Layout
getContentType
-
Constructor Details
-
EventDetailLayout
public EventDetailLayout()
-
-
Method Details
-
setConversionPattern
-
getConversionPattern
-
getHeader
- Overrides:
getHeaderin classorg.apache.log4j.Layout
-
ignoresThrowable
public boolean ignoresThrowable()- Specified by:
ignoresThrowablein classorg.apache.log4j.Layout
-
activateOptions
public void activateOptions() -
format
- Specified by:
formatin classorg.apache.log4j.Layout
-