Class LevelAction
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.action.Action
ch.qos.logback.core.joran.action.BaseModelAction
ch.qos.logback.classic.joran.action.LevelAction
- All Implemented Interfaces:
ContextAware
Action to handle the element nested within element.
This action is deprecated. Use the level attribute within the logger element.
- Author:
- Ceki Gulcu
-
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
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Model
buildCurrentModel
(InterpretationContext interpretationContext, String name, Attributes attributes) protected boolean
validPreconditions
(InterpretationContext interpcont, String name, Attributes attributes) Methods inherited from class ch.qos.logback.core.joran.action.BaseModelAction
begin, body, end
Methods inherited from class ch.qos.logback.core.joran.action.Action
atLine, getColumnNumber, getLineColStr, getLineNumber, nearLine, toString
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
LevelAction
public LevelAction()
-
-
Method Details
-
validPreconditions
protected boolean validPreconditions(InterpretationContext interpcont, String name, Attributes attributes) - Overrides:
validPreconditions
in classBaseModelAction
-
buildCurrentModel
protected Model buildCurrentModel(InterpretationContext interpretationContext, String name, Attributes attributes) - Specified by:
buildCurrentModel
in classBaseModelAction
-