Class DefaultProcessor
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.model.processor.DefaultProcessor
- All Implemented Interfaces:
ContextAware
- Direct Known Subclasses:
SiftProcessor
DefaultProcessor traverses the Model produced at an earlier step and performs actual
configuration of logback according to the handlers it was given.
- Since:
- 1.3.0
- Author:
- Ceki Gülcü
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnalyser
(Class<? extends Model> modelClass, Supplier<ModelHandlerBase> analyserSupplier) void
addHandler
(Class<? extends Model> modelClass, ModelHandlerFactoryMethod modelFactoryMethod) protected void
analyseDependencies
(Model model) protected int
mainTraverse
(Model model, ModelFilter modelFiler) void
protected int
secondPhaseTraverse
(Model model, ModelFilter modelFilter) Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
mic
-
-
Constructor Details
-
DefaultProcessor
-
-
Method Details
-
addHandler
public void addHandler(Class<? extends Model> modelClass, ModelHandlerFactoryMethod modelFactoryMethod) -
addAnalyser
public void addAnalyser(Class<? extends Model> modelClass, Supplier<ModelHandlerBase> analyserSupplier) -
process
-
getPhaseOneFilter
-
getPhaseTwoFilter
-
analyseDependencies
-
mainTraverse
-
secondPhaseTraverse
-