Package org.apache.logging.slf4j
Class Log4jMDCAdapter
java.lang.Object
org.apache.logging.slf4j.Log4jMDCAdapter
- All Implemented Interfaces:
org.slf4j.spi.MDCAdapter
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate final Log4jMDCAdapter.ThreadLocalMapOfStacks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclearDequeByKey(String key) voidvoidvoidvoidsetContextMap(Map<String, String> map)
-
Field Details
-
LOGGER
-
mapOfStacks
-
-
Constructor Details
-
Log4jMDCAdapter
public Log4jMDCAdapter()
-
-
Method Details
-
put
- Specified by:
putin interfaceorg.slf4j.spi.MDCAdapter
-
get
- Specified by:
getin interfaceorg.slf4j.spi.MDCAdapter
-
remove
- Specified by:
removein interfaceorg.slf4j.spi.MDCAdapter
-
clear
public void clear()- Specified by:
clearin interfaceorg.slf4j.spi.MDCAdapter
-
getCopyOfContextMap
- Specified by:
getCopyOfContextMapin interfaceorg.slf4j.spi.MDCAdapter
-
setContextMap
- Specified by:
setContextMapin interfaceorg.slf4j.spi.MDCAdapter
-
pushByKey
- Specified by:
pushByKeyin interfaceorg.slf4j.spi.MDCAdapter
-
popByKey
- Specified by:
popByKeyin interfaceorg.slf4j.spi.MDCAdapter
-
getCopyOfDequeByKey
- Specified by:
getCopyOfDequeByKeyin interfaceorg.slf4j.spi.MDCAdapter
-
clearDequeByKey
- Specified by:
clearDequeByKeyin interfaceorg.slf4j.spi.MDCAdapter
-