Top Fields Constructors Methods
org.slf4j.helpers

public Class NOP_FallbackServiceProvider

extends Object
implements SLF4JServiceProvider
Class Inheritance
All Implemented Interfaces
org.slf4j.spi.SLF4JServiceProvider
Imports
org.slf4j.ILoggerFactory, .IMarkerFactory, org.slf4j.spi.MDCAdapter, .SLF4JServiceProvider

Field Summary

Modifier and TypeField and Description
private final ILoggerFactory
private final IMarkerFactory
private final MDCAdapter
public static String
REQUESTED_API_VERSION

Declare the version of the SLF4J API this implementation is compiled against.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ILoggerFactory
public IMarkerFactory
public MDCAdapter
getMDCAdapter()

Implements org.slf4j.spi.SLF4JServiceProvider.getMDCAdapter.

Return the instance of MDCAdapter that MDC should bind to.

public String
getRequestedApiVersion()

Implements org.slf4j.spi.SLF4JServiceProvider.getRequestedApiVersion.

Return the maximum API version for SLF4J that the logging implementation supports.

public void
initialize()

Implements org.slf4j.spi.SLF4JServiceProvider.initialize.

Initialize the logging back-end.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerFactoryback to summary
private final ILoggerFactory loggerFactory
markerFactoryback to summary
private final IMarkerFactory markerFactory
mdcAdapterback to summary
private final MDCAdapter mdcAdapter
REQUESTED_API_VERSIONback to summary
public static String REQUESTED_API_VERSION

Declare the version of the SLF4J API this implementation is compiled against. The value of this field is modified with each major release.

Constructor Detail

NOP_FallbackServiceProviderback to summary
public NOP_FallbackServiceProvider()

Method Detail

getLoggerFactoryback to summary
public ILoggerFactory getLoggerFactory()

Implements org.slf4j.spi.SLF4JServiceProvider.getLoggerFactory.

Doc from org.slf4j.spi.SLF4JServiceProvider.getLoggerFactory.

Return the instance of ILoggerFactory that org.slf4j.LoggerFactory class should bind to.

Annotations
@Override
getMarkerFactoryback to summary
public IMarkerFactory getMarkerFactory()

Implements org.slf4j.spi.SLF4JServiceProvider.getMarkerFactory.

Doc from org.slf4j.spi.SLF4JServiceProvider.getMarkerFactory.

Return the instance of IMarkerFactory that org.slf4j.MarkerFactory class should bind to.

Annotations
@Override
getMDCAdapterback to summary
public MDCAdapter getMDCAdapter()

Implements org.slf4j.spi.SLF4JServiceProvider.getMDCAdapter.

Doc from org.slf4j.spi.SLF4JServiceProvider.getMDCAdapter.

Return the instance of MDCAdapter that MDC should bind to.

Annotations
@Override
getRequestedApiVersionback to summary
public String getRequestedApiVersion()

Implements org.slf4j.spi.SLF4JServiceProvider.getRequestedApiVersion.

Doc from org.slf4j.spi.SLF4JServiceProvider.getRequestedApiVersion.

Return the maximum API version for SLF4J that the logging implementation supports.

For example: "2.0.1".

Annotations
@Override
initializeback to summary
public void initialize()

Implements org.slf4j.spi.SLF4JServiceProvider.initialize.

Doc from org.slf4j.spi.SLF4JServiceProvider.initialize.

Initialize the logging back-end.

Warning

This method is intended to be called once by LoggerFactory class and from nowhere else.

Annotations
@Override