java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.classic.tyler.TylerConfiguratorBase
- All Implemented Interfaces:
ContextAware,ContextAwarePropertyContainer,PropertyContainer
public class TylerConfiguratorBase
extends ContextAwareBase
implements ContextAwarePropertyContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected PropertyModelHandlerHelperstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected VariableSubstitutionsHelperFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidaddSubstitutionProperty(String key, String value) Supplier<? extends GenericXMLConfigurator> Return a supplier which supplies an instance ofJoranConfiguratorset to the same context the context of 'this'.getProperty(String key) If a key is found in propertiesMap then return it.booleanMethod used in conditional evaluationbooleanShorthand forproperty(String).protected voidprocessModelFromIncludedFile(Model modelFromIncludedFile) Return the value of the property named k.voidsetContext(Context context) protected voidsetContextName(String name) protected LoggersetupLogger(String loggerName, String levelString, Boolean additivity) Performs variable substitution.Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContextMethods inherited from interface ch.qos.logback.core.spi.PropertyContainer
addSubstitutionProperties
-
Field Details
-
SET_CONTEXT_METHOD_NAME
- See Also:
-
SET_CONTEXT_NAME_METHOD_NAME
- See Also:
-
SETUP_LOGGER_METHOD_NAME
- See Also:
-
VARIABLE_SUBSTITUTIONS_HELPER_FIELD_NAME
- See Also:
-
PROPERTY_MODEL_HANDLER_HELPER_FIELD_NAME
- See Also:
-
variableSubstitutionsHelper
-
propertyModelHandlerHelper
-
-
Constructor Details
-
TylerConfiguratorBase
public TylerConfiguratorBase()
-
-
Method Details
-
setupLogger
-
setContext
- Specified by:
setContextin interfaceContextAware- Overrides:
setContextin classContextAwareBase
-
setContextName
-
addOnConsoleStatusListener
-
subst
Performs variable substitution.- Specified by:
substin interfaceContextAwarePropertyContainer- Parameters:
ref-- Returns:
-
addSubstitutionProperty
- Specified by:
addSubstitutionPropertyin interfacePropertyContainer
-
getProperty
If a key is found in propertiesMap then return it.- Specified by:
getPropertyin interfacePropertyContainer
-
getCopyOfPropertyMap
- Specified by:
getCopyOfPropertyMapin interfacePropertyContainer
-
isNull
-
isDefined
-
p
Shorthand forproperty(String).- Parameters:
k- a property name- Returns:
- value of property k
- Since:
- 1.5.4
-
property
-
getConfiguratorSupplier
Return a supplier which supplies an instance ofJoranConfiguratorset to the same context the context of 'this'.- Specified by:
getConfiguratorSupplierin interfaceContextAwarePropertyContainer- Returns:
- a supplier of
GenericXMLConfiguratorinstance, may be null - Since:
- 1.5.11
-
processModelFromIncludedFile
-