Closeable
, AutoCloseable
, 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.registry
Constructor | Description |
---|---|
ApiLoggerAdapter() |
Modifier and Type | Method | Description |
---|---|---|
protected Logger |
newLogger(String name,
LoggerContext context) |
Creates a new named logger for a given
LoggerContext . |
getContext
close, getContext, getLogger, getLoggersInContext
protected Logger newLogger(String name, LoggerContext context)
AbstractLoggerAdapter
LoggerContext
.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.