Package org.apache.logging.log4j.jpl
Class Log4jSystemLoggerAdapter
- java.lang.Object
-
- org.apache.logging.log4j.spi.AbstractLoggerAdapter<java.lang.System.Logger>
-
- org.apache.logging.log4j.jpl.Log4jSystemLoggerAdapter
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,LoggerAdapter<java.lang.System.Logger>,LoggerContextShutdownAware
public class Log4jSystemLoggerAdapter extends AbstractLoggerAdapter<java.lang.System.Logger>
System.Loggerregistry implementation using just log4j-api.- Since:
- 2.14
-
-
Field Summary
-
Fields inherited from class org.apache.logging.log4j.spi.AbstractLoggerAdapter
registry
-
-
Constructor Summary
Constructors Constructor Description Log4jSystemLoggerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LoggerContextgetContext()protected java.lang.System.LoggernewLogger(java.lang.String name, LoggerContext context)-
Methods inherited from class org.apache.logging.log4j.spi.AbstractLoggerAdapter
close, contextShutdown, getContext, getLogger, getLoggerContexts, getLoggersInContext
-
-
-
-
Method Detail
-
newLogger
protected java.lang.System.Logger newLogger(java.lang.String name, LoggerContext context)- Specified by:
newLoggerin classAbstractLoggerAdapter<java.lang.System.Logger>
-
getContext
protected LoggerContext getContext()
- Specified by:
getContextin classAbstractLoggerAdapter<java.lang.System.Logger>
-
-