Class LoggerAction
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.action.Action
ch.qos.logback.classic.joran.action.LoggerAction
- All Implemented Interfaces:
ContextAware
Action which handles elements in configuration files.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean
static final String
(package private) Logger
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 TypeMethodDescriptionvoid
begin
(InterpretationContext ec, String name, Attributes attributes) Called when the parser encounters an element matching aPattern
.void
end
(InterpretationContext ec, String e) void
Methods inherited from class ch.qos.logback.core.joran.action.Action
body, getColumnNumber, getLineColStr, getLineNumber, toString
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
LEVEL_ATTRIBUTE
- See Also:
-
inError
boolean inError -
logger
Logger logger
-
-
Constructor Details
-
LoggerAction
public LoggerAction()
-
-
Method Details