Package org.slf4j.impl
Class Slf4jMDCAdapter
- java.lang.Object
-
- org.slf4j.impl.Slf4jMDCAdapter
-
- All Implemented Interfaces:
org.slf4j.spi.MDCAdapter
public final class Slf4jMDCAdapter extends Object implements org.slf4j.spi.MDCAdapter
-
-
Constructor Summary
Constructors Constructor Description Slf4jMDCAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Stringget(String key)Map<String,String>getCopyOfContextMap()voidput(String key, String val)voidremove(String key)voidsetContextMap(Map contextMap)
-
-
-
Method Detail
-
put
public void put(String key, String val)
- Specified by:
putin interfaceorg.slf4j.spi.MDCAdapter
-
remove
public void remove(String key)
- Specified by:
removein interfaceorg.slf4j.spi.MDCAdapter
-
clear
public void clear()
- Specified by:
clearin interfaceorg.slf4j.spi.MDCAdapter
-
getCopyOfContextMap
public Map<String,String> getCopyOfContextMap()
- Specified by:
getCopyOfContextMapin interfaceorg.slf4j.spi.MDCAdapter
-
setContextMap
public void setContextMap(Map contextMap)
- Specified by:
setContextMapin interfaceorg.slf4j.spi.MDCAdapter
-
-