Package org.ops4j.pax.logging.slf4j
Class PaxLoggingSLF4JServiceProvider
- java.lang.Object
-
- org.ops4j.pax.logging.slf4j.PaxLoggingSLF4JServiceProvider
-
- All Implemented Interfaces:
org.slf4j.spi.SLF4JServiceProvider
public class PaxLoggingSLF4JServiceProvider extends Object implements org.slf4j.spi.SLF4JServiceProvider
In SLF4J 2 API, the goal ofSLF4JServiceProvideris to prepare and return on demand 3 implementations:ILoggerFactoryIMarkerFactoryMDCAdapter
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.IMarkerFactorymarkerFactory
-
Constructor Summary
Constructors Constructor Description PaxLoggingSLF4JServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.slf4j.ILoggerFactorygetLoggerFactory()org.slf4j.IMarkerFactorygetMarkerFactory()org.slf4j.spi.MDCAdaptergetMDCAdapter()StringgetRequestedApiVersion()voidinitialize()
-
-
-
Method Detail
-
getLoggerFactory
public org.slf4j.ILoggerFactory getLoggerFactory()
- Specified by:
getLoggerFactoryin interfaceorg.slf4j.spi.SLF4JServiceProvider
-
getMarkerFactory
public org.slf4j.IMarkerFactory getMarkerFactory()
- Specified by:
getMarkerFactoryin interfaceorg.slf4j.spi.SLF4JServiceProvider
-
getMDCAdapter
public org.slf4j.spi.MDCAdapter getMDCAdapter()
- Specified by:
getMDCAdapterin interfaceorg.slf4j.spi.SLF4JServiceProvider
-
getRequestedApiVersion
public String getRequestedApiVersion()
- Specified by:
getRequestedApiVersionin interfaceorg.slf4j.spi.SLF4JServiceProvider
-
initialize
public void initialize()
- Specified by:
initializein interfaceorg.slf4j.spi.SLF4JServiceProvider
-
-