org.apache.logging.log4j.jul
Class ApiLoggerAdapter
java.lang.Object
org.apache.logging.log4j.spi.AbstractLoggerAdapter<Logger>
org.apache.logging.log4j.jul.AbstractLoggerAdapter
org.apache.logging.log4j.jul.ApiLoggerAdapter
- All Implemented Interfaces:
- Closeable, org.apache.logging.log4j.spi.LoggerAdapter<Logger>
public class ApiLoggerAdapter
- extends AbstractLoggerAdapter
Logger
registry implementation using just log4j-api. This is the fallback registry used when log4j-core is
not available.
- Since:
- 2.1
Fields inherited from class org.apache.logging.log4j.spi.AbstractLoggerAdapter |
registry |
Method Summary |
protected Logger |
newLogger(String name,
org.apache.logging.log4j.spi.LoggerContext context)
|
Methods inherited from class org.apache.logging.log4j.spi.AbstractLoggerAdapter |
close, getContext, getLogger, getLoggersInContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiLoggerAdapter
public ApiLoggerAdapter()
newLogger
protected Logger newLogger(String name,
org.apache.logging.log4j.spi.LoggerContext context)
- Specified by:
newLogger
in class org.apache.logging.log4j.spi.AbstractLoggerAdapter<Logger>
Copyright © 1999-2015 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.