L
- the external logger class for this registry (e.g., org.slf4j.Logger
)AutoCloseable
, Closeable
AbstractLoggerAdapter
, AbstractLoggerAdapter
, ApiLoggerAdapter
, CoreLoggerAdapter
, LogAdapter
public interface LoggerAdapter<L> extends Closeable
LoggerContext
objects and their associated external
Logger classes. This registry should not be used for Log4j Loggers; it is instead used for creating bridges to
other external log systems.Modifier and Type | Method | Description |
---|---|---|
L |
getLogger(String name) |
Gets a named logger.
|
L getLogger(String name)
AbstractLoggerAdapter
.name
- the name of the logger to getCopyright © 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.