Package ch.qos.logback.core.joran.spi
Class SimpleRuleStore
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.spi.SimpleRuleStore
- All Implemented Interfaces:
RuleStore,ContextAware
@Deprecated(since="2022-01-27")
public class SimpleRuleStore
extends ContextAwareBase
implements RuleStore
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
This class implements the
RuleStore interface. It is the rule store
implementation used by default in Joran.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRule(ElementSelector elementSelector, Action action) Deprecated.Add a new rule, i.e.voidaddRule(ElementSelector elementSelector, String actionClassName) Deprecated.Add a new rule, given by a pattern and a action class (String).matchActions(ElementPath elementPath) Deprecated.Return a list of actions matching a pattern.toString()Deprecated.Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
Constructor Details
-
SimpleRuleStore
Deprecated.
-
-
Method Details
-
addRule
Deprecated.Add a new rule, i.e. a pattern, action pair to the rule store.Note that the added action's LoggerRepository will be set in the process.
-
addRule
Deprecated.Description copied from interface:RuleStoreAdd a new rule, given by a pattern and a action class (String). -
matchActions
Deprecated.Description copied from interface:RuleStoreReturn a list of actions matching a pattern.- Specified by:
matchActionsin interfaceRuleStore- Parameters:
elementPath- the path to match for- Returns:
- list of matching actions
-
toString
Deprecated.
-