Package org.slf4j.impl
Class StaticMDCBinder
- java.lang.Object
-
- org.slf4j.impl.StaticMDCBinder
-
public final class StaticMDCBinder extends Object
This implementation is bound toNOPMDCAdapter.
-
-
Field Summary
Fields Modifier and Type Field Description static StaticMDCBinderSINGLETONThe unique instance of this class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.slf4j.spi.MDCAdaptergetMDCA()Currently this method always returns an instance ofStaticMDCBinder.StringgetMDCAdapterClassStr()Gets the MDC adapter class as Stringstatic StaticMDCBindergetSingleton()Return the singleton of this class.
-
-
-
Field Detail
-
SINGLETON
public static final StaticMDCBinder SINGLETON
The unique instance of this class.
-
-
Method Detail
-
getSingleton
public static StaticMDCBinder getSingleton()
Return the singleton of this class.- Returns:
- the StaticMDCBinder singleton
- Since:
- 1.7.14
-
getMDCA
public org.slf4j.spi.MDCAdapter getMDCA()
Currently this method always returns an instance ofStaticMDCBinder.- Returns:
- the result
-
getMDCAdapterClassStr
public String getMDCAdapterClassStr()
Gets the MDC adapter class as String- Returns:
- the MDC adapter class name
-
-