public class CallerDataConverter extends ClassicConverter
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CALLER_LINE_PREFIX |
started| Constructor and Description |
|---|
CallerDataConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(ILoggingEvent le)
The convert method is responsible for extracting data from the event and
storing it for later use by the write method.
|
protected String |
getCallerLinePrefix() |
void |
start()
Components that depend on options passed during configuration can override
this method in order to make appropriate use of those options.
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, stopgetFormattingInfo, setFormattingInfo, writepublic static final String DEFAULT_CALLER_LINE_PREFIX
public void start()
DynamicConverterstart in interface LifeCyclestart in class DynamicConverter<ILoggingEvent>public String convert(ILoggingEvent le)
Converterconvert in class Converter<ILoggingEvent>le - the log eventprotected String getCallerLinePrefix()
Copyright © 2005–2014 QOS.ch. All rights reserved.