public class LogXThrowableInformationPatternConverter
extends org.apache.log4j.pattern.LoggingEventPatternConverter
| Modifier and Type | Method and Description |
|---|---|
void |
format(org.apache.log4j.spi.LoggingEvent event,
java.lang.StringBuffer toAppendTo) |
boolean |
handlesThrowable()
This converter obviously handles throwables.
|
static LogXThrowableInformationPatternConverter |
newInstance(java.lang.String[] options)
Gets an instance of the class.
|
public static LogXThrowableInformationPatternConverter newInstance(java.lang.String[] options)
options - pattern options, may be null. If first element is "short",
only the first line of the throwable will be formatted.public void format(org.apache.log4j.spi.LoggingEvent event,
java.lang.StringBuffer toAppendTo)
format in class org.apache.log4j.pattern.LoggingEventPatternConverterpublic boolean handlesThrowable()
handlesThrowable in class org.apache.log4j.pattern.LoggingEventPatternConverterCopyright © 2019. All Rights Reserved.