public abstract class NamedConverter extends ClassicConverter
started
Constructor and Description |
---|
NamedConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convert(ILoggingEvent event) |
protected abstract String |
getFullyQualifiedName(ILoggingEvent event)
Gets fully qualified name from event.
|
void |
start() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getFirstOption, getOptionList, isStarted, setContext, setOptionList, stop
getFormattingInfo, setFormattingInfo, write
protected abstract String getFullyQualifiedName(ILoggingEvent event)
event
- The LoggingEvent to process, cannot not be null.public void start()
start
in interface LifeCycle
start
in class DynamicConverter<ILoggingEvent>
public String convert(ILoggingEvent event)
convert
in class Converter<ILoggingEvent>
Copyright © 2005-2013 QOS.ch. All Rights Reserved.