Package ch.qos.logback.core.joran.action
Class AppenderAction<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.action.Action
-
- ch.qos.logback.core.joran.action.AppenderAction<E>
-
- All Implemented Interfaces:
ContextAware
@Deprecated(since="2022-01-27") public class AppenderAction<E> extends Action
Deprecated.
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description AppenderAction()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
begin(InterpretationContext ec, java.lang.String localName, org.xml.sax.Attributes attributes)
Deprecated.Instantiates an appender of the given class and sets its name.void
end(InterpretationContext ec, java.lang.String name)
Deprecated.Once the children elements are also parsed, now is the time to activate the appender options.-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
begin
public void begin(InterpretationContext ec, java.lang.String localName, org.xml.sax.Attributes attributes) throws ActionException
Deprecated.Instantiates an appender of the given class and sets its name. The appender thus generated is placed in theInterpretationContext
's appender bag.- Specified by:
begin
in classAction
- Throws:
ActionException
-
end
public void end(InterpretationContext ec, java.lang.String name)
Deprecated.Once the children elements are also parsed, now is the time to activate the appender options.
-
-