类 NacosLogbackConfiguratorAdapterV2
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.GenericXMLConfigurator
-
- ch.qos.logback.core.joran.JoranConfiguratorBase<ch.qos.logback.classic.spi.ILoggingEvent>
-
- ch.qos.logback.classic.joran.JoranConfigurator
-
- com.alibaba.nacos.logger.adapter.logback14.NacosLogbackConfiguratorAdapterV2
-
- 所有已实现的接口:
ch.qos.logback.core.spi.ContextAware
public class NacosLogbackConfiguratorAdapterV2 extends ch.qos.logback.classic.joran.JoranConfiguratorensure that Nacos configuration does not affect user configuration savepoints and scanning url.Move from https://github.com/nacos-grorp/logback-adapter
- 从以下版本开始:
- 2.4.0
- 作者:
- hujun, xiweng.yy
-
-
构造器概要
构造器 构造器 说明 NacosLogbackConfiguratorAdapterV2()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddElementSelectorAndActionAssociations(ch.qos.logback.core.joran.spi.RuleStore ruleStore)protected voidaddModelHandlerAssociations(ch.qos.logback.core.model.processor.DefaultProcessor defaultProcessor)voidconfigure(URL url)ensure that Nacos configuration does not affect user configuration scanning url.voidregisterSafeConfiguration(ch.qos.logback.core.model.Model top)voidsetLoggingProperties(com.alibaba.nacos.common.logging.NacosLoggingProperties loggingProperties)-
从类继承的方法 ch.qos.logback.classic.joran.JoranConfigurator
addDefaultNestedComponentRegistryRules, sanityCheck
-
从类继承的方法 ch.qos.logback.core.joran.JoranConfiguratorBase
buildModelInterpretationContext, getInterpretationContext, performCheck, setImplicitRuleSupplier
-
从类继承的方法 ch.qos.logback.core.joran.GenericXMLConfigurator
buildModelFromSaxEventList, buildSaxEventInterpreter, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, getModelInterpretationContext, informContextOfURLUsedForConfiguration, initialElementPath, populateSaxEventRecorder, processModel, recallSafeConfiguration
-
-
-
-
方法详细资料
-
setLoggingProperties
public void setLoggingProperties(com.alibaba.nacos.common.logging.NacosLoggingProperties loggingProperties)
-
registerSafeConfiguration
public void registerSafeConfiguration(ch.qos.logback.core.model.Model top)
- 覆盖:
registerSafeConfiguration在类中ch.qos.logback.core.joran.GenericXMLConfigurator
-
addModelHandlerAssociations
protected void addModelHandlerAssociations(ch.qos.logback.core.model.processor.DefaultProcessor defaultProcessor)
- 覆盖:
addModelHandlerAssociations在类中ch.qos.logback.classic.joran.JoranConfigurator
-
addElementSelectorAndActionAssociations
public void addElementSelectorAndActionAssociations(ch.qos.logback.core.joran.spi.RuleStore ruleStore)
- 覆盖:
addElementSelectorAndActionAssociations在类中ch.qos.logback.classic.joran.JoranConfigurator
-
-