Class Log4JToL4TLoggerContextFactory

java.lang.Object
dev.pfaff.log4truth.compat.log4j.Log4JToL4TLoggerContextFactory
All Implemented Interfaces:
org.apache.logging.log4j.spi.LoggerContextFactory

public final class Log4JToL4TLoggerContextFactory extends Object implements org.apache.logging.log4j.spi.LoggerContextFactory
  • Constructor Details

    • Log4JToL4TLoggerContextFactory

      public Log4JToL4TLoggerContextFactory()
  • Method Details

    • getContext

      public org.apache.logging.log4j.spi.LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext)
      Specified by:
      getContext in interface org.apache.logging.log4j.spi.LoggerContextFactory
    • getContext

      public org.apache.logging.log4j.spi.LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name)
      Specified by:
      getContext in interface org.apache.logging.log4j.spi.LoggerContextFactory
    • removeContext

      public void removeContext(org.apache.logging.log4j.spi.LoggerContext context)
      Specified by:
      removeContext in interface org.apache.logging.log4j.spi.LoggerContextFactory
    • shutdown

      public void shutdown(String fqcn, ClassLoader loader, boolean currentContext, boolean allContexts)
      Specified by:
      shutdown in interface org.apache.logging.log4j.spi.LoggerContextFactory
    • isClassLoaderDependent

      public boolean isClassLoaderDependent()
      Specified by:
      isClassLoaderDependent in interface org.apache.logging.log4j.spi.LoggerContextFactory