Package org.slf4j.impl
Class StaticMDCBinder
- java.lang.Object
-
- org.slf4j.impl.StaticMDCBinder
-
public class StaticMDCBinder extends java.lang.Object
This implementation is bound toNOPMDCAdapter
.
-
-
Field Summary
Fields Modifier and Type Field Description static StaticMDCBinder
SINGLETON
The unique instance of this class.
-
Constructor Summary
Constructors Modifier Constructor Description private
StaticMDCBinder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.slf4j.spi.MDCAdapter
getMDCA()
Currently this method always returns an instance ofStaticMDCBinder
.java.lang.String
getMDCAdapterClassStr()
static StaticMDCBinder
getSingleton()
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 final 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
.
-
getMDCAdapterClassStr
public java.lang.String getMDCAdapterClassStr()
-
-