Package org.apache.logging.log4j.jpl
Class Log4jSystemLoggerAdapter
- java.lang.Object
-
- org.apache.logging.log4j.spi.AbstractLoggerAdapter<System.Logger>
-
- org.apache.logging.log4j.jpl.Log4jSystemLoggerAdapter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.logging.log4j.spi.LoggerAdapter<System.Logger>
,org.apache.logging.log4j.spi.LoggerContextShutdownAware
public class Log4jSystemLoggerAdapter extends org.apache.logging.log4j.spi.AbstractLoggerAdapter<System.Logger>
System.Logger
registry implementation using just log4j-api.- Since:
- 2.14
-
-
Constructor Summary
Constructors Constructor Description Log4jSystemLoggerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.logging.log4j.spi.LoggerContext
getContext()
protected System.Logger
newLogger(String name, org.apache.logging.log4j.spi.LoggerContext context)
-
-
-
Constructor Detail
-
Log4jSystemLoggerAdapter
public Log4jSystemLoggerAdapter()
-
-
Method Detail
-
newLogger
protected System.Logger newLogger(String name, org.apache.logging.log4j.spi.LoggerContext context)
- Specified by:
newLogger
in classorg.apache.logging.log4j.spi.AbstractLoggerAdapter<System.Logger>
-
getContext
protected org.apache.logging.log4j.spi.LoggerContext getContext()
- Specified by:
getContext
in classorg.apache.logging.log4j.spi.AbstractLoggerAdapter<System.Logger>
-
-