Package ch.qos.logback.core.pattern
Class DynamicConverter<E>
java.lang.Object
ch.qos.logback.core.pattern.Converter<E>
ch.qos.logback.core.pattern.FormattingConverter<E>
ch.qos.logback.core.pattern.DynamicConverter<E>
- All Implemented Interfaces:
ContextAware,LifeCycle
- Direct Known Subclasses:
ClassicConverter,CompositeConverter,DateTokenConverter,IntegerTokenConverter
@Deprecated(since="2022-01-27")
public abstract class DynamicConverter<E>
extends FormattingConverter<E>
implements LifeCycle, ContextAware
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.Deprecated.Deprecated.Return the first option passed to this component.booleanDeprecated.voidsetContext(Context context) Deprecated.voidsetOptionList(List<String> optionList) Deprecated.voidstart()Deprecated.Components that depend on options passed during configuration can override this method in order to make appropriate use of those options.voidstop()Deprecated.Methods inherited from class ch.qos.logback.core.pattern.FormattingConverter
getFormattingInfo, setFormattingInfo, write
-
Constructor Details
-
DynamicConverter
public DynamicConverter()Deprecated.
-
-
Method Details
-
start
public void start()Deprecated.Components that depend on options passed during configuration can override this method in order to make appropriate use of those options. For simpler components, the trivial implementation found in this abstract class will be sufficient. -
stop
public void stop()Deprecated. -
isStarted
public boolean isStarted()Deprecated. -
setOptionList
Deprecated. -
getFirstOption
Deprecated.Return the first option passed to this component. The returned value may be null if there are no options.- Returns:
- First option, may be null.
-
setContext
Deprecated.- Specified by:
setContextin interfaceContextAware
-
getContext
Deprecated.- Specified by:
getContextin interfaceContextAware
-
addStatus
Deprecated.- Specified by:
addStatusin interfaceContextAware
-
addInfo
Deprecated.- Specified by:
addInfoin interfaceContextAware
-
addInfo
Deprecated.- Specified by:
addInfoin interfaceContextAware
-
addWarn
Deprecated.- Specified by:
addWarnin interfaceContextAware
-
addWarn
Deprecated.- Specified by:
addWarnin interfaceContextAware
-
addError
Deprecated.- Specified by:
addErrorin interfaceContextAware
-
addError
Deprecated.- Specified by:
addErrorin interfaceContextAware
-