Interface LoggerAdapter<L>
- Type Parameters:
L- the external logger class for this registry (e.g.,org.slf4j.Logger)
- All Superinterfaces:
AutoCloseable, Closeable
- All Known Implementing Classes:
AbstractLoggerAdapter, AbstractLoggerAdapter, ApiLoggerAdapter, CoreLoggerAdapter, Hierarchy.PrivateLoggerAdapter, Log4jLoggerFactory, Log4jSystemLoggerAdapter, LogAdapter
A basic registry for
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.- Since:
- 2.1
-
Method Summary
-
Method Details
-
getLogger
Gets a named logger. Implementations should defer to the abstract methods inAbstractLoggerAdapter.- Parameters:
name- the name of the logger to get- Returns:
- the named logger
-