|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.Layout | +--org.apache.log4j.PatternLayout | +--junit.log4j.JUnitLayout
Extension of PatternLayout
to provide
stack traces of throwables in the appenders. The additionally recognized
conversion characters are:
Conversion Character | Effect |
---|---|
T | Print the stack trace of the throwable. |
Fields inherited from class org.apache.log4j.PatternLayout |
BUF_SIZE, DEFAULT_CONVERSION_PATTERN, MAX_CAPACITY, TTCC_CONVERSION_PATTERN |
Fields inherited from class org.apache.log4j.Layout |
LINE_SEP, LINE_SEP_LEN |
Constructor Summary | |
JUnitLayout()
Creates a new JUnitLayout instance. |
|
JUnitLayout(java.lang.String pattern)
Creates a new JUnitLayout instance. |
Method Summary | |
org.apache.log4j.helpers.PatternParser |
createPatternParser(java.lang.String pattern)
Creates a new JUnitPatternParser . |
Methods inherited from class org.apache.log4j.PatternLayout |
activateOptions, format, getConversionPattern, ignoresThrowable, setConversionPattern |
Methods inherited from class org.apache.log4j.Layout |
getContentType, getFooter, getHeader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JUnitLayout()
JUnitLayout
instance.public JUnitLayout(java.lang.String pattern)
JUnitLayout
instance.pattern
- the conversion patternMethod Detail |
public org.apache.log4j.helpers.PatternParser createPatternParser(java.lang.String pattern)
JUnitPatternParser
.createPatternParser
in class org.apache.log4j.PatternLayout
pattern
- conversion patternJUnitPatternParser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |