Package org.slf4j.impl
Class StaticMDCBinder
java.lang.Object
org.slf4j.impl.StaticMDCBinder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.spi.MDCAdapter
static final StaticMDCBinder
The unique instance of this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.slf4j.spi.MDCAdapter
getMDCA()
Currently this method always returns an instance ofStaticMDCBinder
.Retrieve the adapter class name.static StaticMDCBinder
Returns theSINGLETON
StaticMDCBinder
.
-
Field Details
-
SINGLETON
The unique instance of this class. -
mdcAdapter
private final org.slf4j.spi.MDCAdapter mdcAdapter
-
-
Constructor Details
-
StaticMDCBinder
private StaticMDCBinder()
-
-
Method Details
-
getSingleton
Returns theSINGLETON
StaticMDCBinder
. Added to slf4j-api 1.7.14 via https://github.com/qos-ch/slf4j/commit/ea3cca72cd5a9329a06b788317a17e806ee8acd0- Returns:
- the singleton instance
-
getMDCA
public org.slf4j.spi.MDCAdapter getMDCA()Currently this method always returns an instance ofStaticMDCBinder
.- Returns:
- an MDC adapter
-
getMDCAdapterClassStr
Retrieve the adapter class name.- Returns:
- The adapter class name.
-