Closeable, AutoCloseable, LoggerAdapter<Logger>public class CoreLoggerAdapter extends AbstractLoggerAdapter
Logger registry implementation that uses log4j-core.registry| Constructor | Description |
|---|---|
CoreLoggerAdapter() |
| Modifier and Type | Method | Description |
|---|---|---|
protected Logger |
newLogger(String name,
LoggerContext context) |
Creates a new named logger for a given
LoggerContext. |
getContextclose, getContext, getLogger, getLoggersInContextprotected Logger newLogger(String name, LoggerContext context)
AbstractLoggerAdapterLoggerContext.newLogger in class AbstractLoggerAdapter<Logger>name - the name of the logger to createcontext - the LoggerContext this logger will be associated withCopyright © 1999-2018. 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.