Class LogConfigurator

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
org.eclipse.rdf4j.common.app.logging.logback.LogConfigurator
All Implemented Interfaces:
ch.qos.logback.core.spi.ContextAware

public class LogConfigurator extends ch.qos.logback.classic.joran.JoranConfigurator
Author:
alex
  • Field Summary

    Fields inherited from class ch.qos.logback.core.joran.GenericXMLConfigurator

    modelInterpretationContext, saxEventInterpreter

    Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

    context
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(File configFile)
    Configure logback using the provided file and collect any custom <logreader> declarations found inside appender definitions.
    Get default log reader
    getLogReader(String appenderName)
     

    Methods inherited from class ch.qos.logback.classic.joran.JoranConfigurator

    addDefaultNestedComponentRegistryRules, addElementSelectorAndActionAssociations, addModelHandlerAssociations, buildModelInterpretationContext, sanityCheck

    Methods inherited from class ch.qos.logback.core.joran.JoranConfiguratorBase

    getInterpretationContext, performCheck, setImplicitRuleSupplier

    Methods inherited from class ch.qos.logback.core.joran.GenericXMLConfigurator

    buildModelFromSaxEventList, buildSaxEventInterpreter, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, getModelInterpretationContext, getRuleStore, informContextOfURLUsedForConfiguration, initialElementPath, populateSaxEventRecorder, processModel, recallSafeConfiguration, registerSafeConfiguration

    Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase

    addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LogConfigurator

      public LogConfigurator()
  • Method Details

    • configure

      public void configure(File configFile) throws ch.qos.logback.core.joran.spi.JoranException
      Configure logback using the provided file and collect any custom <logreader> declarations found inside appender definitions.
      Throws:
      ch.qos.logback.core.joran.spi.JoranException
    • getDefaultLogReader

      public LogReader getDefaultLogReader()
      Get default log reader
      Returns:
      log reader
    • getLogReader

      public LogReader getLogReader(String appenderName)
      Parameters:
      appenderName -
      Returns:
      log reader