Class Log4jApiLogFactory.LogAdapter

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.apache.logging.log4j.spi.LoggerAdapter<Log>, org.apache.logging.log4j.spi.LoggerContextShutdownAware
    Enclosing class:
    Log4jApiLogFactory

    private static final class Log4jApiLogFactory.LogAdapter
    extends org.apache.logging.log4j.spi.AbstractLoggerAdapter<Log>
    • Field Summary

      • Fields inherited from class org.apache.logging.log4j.spi.AbstractLoggerAdapter

        registry
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LogAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.logging.log4j.spi.LoggerContext getContext()  
      protected Log newLogger​(java.lang.String name, org.apache.logging.log4j.spi.LoggerContext context)  
      • Methods inherited from class org.apache.logging.log4j.spi.AbstractLoggerAdapter

        close, contextShutdown, getContext, getLogger, getLoggerContexts, getLoggersInContext
      • Methods inherited from class java.lang.Object

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

      • LogAdapter

        private LogAdapter()
    • Method Detail

      • getContext

        protected org.apache.logging.log4j.spi.LoggerContext getContext()
        Specified by:
        getContext in class org.apache.logging.log4j.spi.AbstractLoggerAdapter<Log>
      • newLogger

        protected Log newLogger​(java.lang.String name,
                                org.apache.logging.log4j.spi.LoggerContext context)
        Specified by:
        newLogger in class org.apache.logging.log4j.spi.AbstractLoggerAdapter<Log>