public class Slf4jMDCAdapter extends Object implements org.slf4j.spi.MDCAdapter
MDCAdapter returned from SLF4JServiceProvider| Constructor and Description |
|---|
Slf4jMDCAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearDequeByKey(String key) |
String |
get(String key) |
Map<String,String> |
getCopyOfContextMap() |
Deque<String> |
getCopyOfDequeByKey(String key) |
String |
popByKey(String key) |
void |
pushByKey(String key,
String value) |
void |
put(String key,
String val) |
void |
remove(String key) |
void |
setContextMap(Map contextMap) |
public void remove(String key)
remove in interface org.slf4j.spi.MDCAdapterpublic void clear()
clear in interface org.slf4j.spi.MDCAdapterpublic Map<String,String> getCopyOfContextMap()
getCopyOfContextMap in interface org.slf4j.spi.MDCAdapterpublic void setContextMap(Map contextMap)
setContextMap in interface org.slf4j.spi.MDCAdapterpublic void pushByKey(String key, String value)
pushByKey in interface org.slf4j.spi.MDCAdapterpublic String popByKey(String key)
popByKey in interface org.slf4j.spi.MDCAdapterpublic Deque<String> getCopyOfDequeByKey(String key)
getCopyOfDequeByKey in interface org.slf4j.spi.MDCAdapterpublic void clearDequeByKey(String key)
clearDequeByKey in interface org.slf4j.spi.MDCAdapterCopyright © 2006–2023 OPS4J - Open Participation Software for Java. All rights reserved.