Class HybrisLoggerContext

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.apache.logging.log4j.core.config.ConfigurationListener, org.apache.logging.log4j.core.LifeCycle, org.apache.logging.log4j.core.LifeCycle2, org.apache.logging.log4j.spi.LoggerContext, org.apache.logging.log4j.spi.LoggerContextShutdownEnabled, org.apache.logging.log4j.spi.Terminable

    public class HybrisLoggerContext
    extends org.apache.logging.log4j.core.LoggerContext
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.logging.log4j.core.LifeCycle

        org.apache.logging.log4j.core.LifeCycle.State
    • Field Summary

      • Fields inherited from class org.apache.logging.log4j.core.LoggerContext

        PROPERTY_CONFIG
      • Fields inherited from class org.apache.logging.log4j.core.AbstractLifeCycle

        DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER
    • Constructor Summary

      Constructors 
      Constructor Description
      HybrisLoggerContext​(java.lang.String name, java.net.URI configLocation)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.logging.log4j.core.Logger newInstance​(org.apache.logging.log4j.core.LoggerContext ctx, java.lang.String name, org.apache.logging.log4j.message.MessageFactory messageFactory)  
      void shutdown()  
      • Methods inherited from class org.apache.logging.log4j.core.LoggerContext

        addFilter, addPropertyChangeListener, addShutdownListener, close, getConfigLocation, getConfiguration, getContext, getContext, getContext, getExternalContext, getListeners, getLogger, getLogger, getLoggers, getName, getObject, getRootLogger, hasLogger, hasLogger, hasLogger, onChange, putObject, putObjectIfAbsent, reconfigure, reconfigure, removeFilter, removeObject, removeObject, removePropertyChangeListener, setConfigLocation, setConfiguration, setExternalContext, setName, start, start, stop, terminate, updateLoggers, updateLoggers
      • Methods inherited from class org.apache.logging.log4j.core.AbstractLifeCycle

        equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
      • Methods inherited from class java.lang.Object

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

      • HybrisLoggerContext

        public HybrisLoggerContext​(java.lang.String name,
                                   java.net.URI configLocation)
    • Method Detail

      • newInstance

        protected org.apache.logging.log4j.core.Logger newInstance​(org.apache.logging.log4j.core.LoggerContext ctx,
                                                                   java.lang.String name,
                                                                   org.apache.logging.log4j.message.MessageFactory messageFactory)
        Overrides:
        newInstance in class org.apache.logging.log4j.core.LoggerContext
      • shutdown

        public void shutdown()