public class CoreLoggerAdapter extends AbstractLoggerAdapter
Logger
registry implementation that uses log4j-core.registry
Constructor and Description |
---|
CoreLoggerAdapter() |
Modifier and Type | Method and 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-2017. 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.