Class Log4jApiLogFactory.LogAdapter

java.lang.Object
org.apache.logging.log4j.spi.AbstractLoggerAdapter<Log>
org.apache.commons.logging.impl.Log4jApiLogFactory.LogAdapter
All Implemented Interfaces:
Closeable, 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.logging.log4j.spi.LoggerContext
     
    protected Log
    newLogger(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 Details

    • LogAdapter

      private LogAdapter()
  • Method Details

    • 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(String name, org.apache.logging.log4j.spi.LoggerContext context)
      Specified by:
      newLogger in class org.apache.logging.log4j.spi.AbstractLoggerAdapter<Log>