Class Reload4jMDCAdapter
java.lang.Object
org.slf4j.reload4j.Reload4jMDCAdapter
- All Implemented Interfaces:
org.slf4j.spi.MDCAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclearDequeByKey(String key) voidvoidPut a context value (thevalparameter) as identified with thekeyparameter into the current thread's context map.voidvoidsetContextMap(Map<String, String> contextMap)
-
Constructor Details
-
Reload4jMDCAdapter
public Reload4jMDCAdapter()
-
-
Method Details
-
clear
- Specified by:
clearin interfaceorg.slf4j.spi.MDCAdapter
-
get
-
put
Put a context value (thevalparameter) as identified with thekeyparameter into the current thread's context map. Thekeyparameter cannot be null. Log4j does not support null for thevalparameter.This method delegates all work to log4j's MDC.
- Specified by:
putin interfaceorg.slf4j.spi.MDCAdapter- Throws:
IllegalArgumentException- in case the "key" or "val" parameter is null
-
remove
-
getCopyOfContextMap
- Specified by:
getCopyOfContextMapin interfaceorg.slf4j.spi.MDCAdapter
-
setContextMap
- Specified by:
setContextMapin interfaceorg.slf4j.spi.MDCAdapter
-
pushByKey
-
popByKey
-
getCopyOfDequeByKey
- Specified by:
getCopyOfDequeByKeyin interfaceorg.slf4j.spi.MDCAdapter
-
clearDequeByKey
- Specified by:
clearDequeByKeyin interfaceorg.slf4j.spi.MDCAdapter
-