Class HybrisLoggerContext

java.lang.Object
org.apache.logging.log4j.core.AbstractLifeCycle
org.apache.logging.log4j.core.LoggerContext
de.hybris.platform.util.logging.log4j2.HybrisLoggerContext
All Implemented Interfaces:
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

    Fields inherited from interface org.apache.logging.log4j.spi.LoggerContext

    EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
    HybrisLoggerContext(String name, URI configLocation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.logging.log4j.core.Logger
    newInstance(org.apache.logging.log4j.core.LoggerContext ctx, String name, org.apache.logging.log4j.message.MessageFactory messageFactory)
     
    void
     

    Methods inherited from class org.apache.logging.log4j.core.LoggerContext

    addFilter, addPropertyChangeListener, addShutdownListener, close, getConfigLocation, getConfiguration, getContext, getContext, getContext, getExternalContext, getListeners, getLogger, getLogger, getLoggerRegistry, 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

    Methods inherited from interface org.apache.logging.log4j.spi.LoggerContext

    getLogger, getLogger
  • Constructor Details

    • HybrisLoggerContext

      public HybrisLoggerContext(String name, URI configLocation)
  • Method Details

    • newInstance

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

      public void shutdown()