public class ThrowableProxyConverter extends ThrowableHandlingConverter
Modifier and Type | Field and Description |
---|---|
protected static int |
BUILDER_CAPACITY |
started
Constructor and Description |
---|
ThrowableProxyConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convert(ILoggingEvent event)
The convert method is responsible for extracting data from the event and
storing it for later use by the write method.
|
protected void |
extraData(StringBuilder builder,
StackTraceElementProxy step) |
void |
start()
Components that depend on options passed during configuration can override
this method in order to make appropriate use of those options.
|
void |
stop() |
protected void |
subjoinSTEPArray(StringBuilder buf,
int indent,
IThrowableProxy tp) |
protected String |
throwableProxyToString(IThrowableProxy tp) |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList
getFormattingInfo, setFormattingInfo, write
protected static final int BUILDER_CAPACITY
public void start()
DynamicConverter
start
in interface LifeCycle
start
in class DynamicConverter<ILoggingEvent>
public void stop()
stop
in interface LifeCycle
stop
in class DynamicConverter<ILoggingEvent>
protected void extraData(StringBuilder builder, StackTraceElementProxy step)
public String convert(ILoggingEvent event)
Converter
convert
in class Converter<ILoggingEvent>
event
- the log eventprotected String throwableProxyToString(IThrowableProxy tp)
protected void subjoinSTEPArray(StringBuilder buf, int indent, IThrowableProxy tp)
Copyright © 2005–2014 QOS.ch. All rights reserved.