public class Log4jMDCAdapter extends Object implements org.slf4j.spi.MDCAdapter
| Constructor and Description |
|---|
Log4jMDCAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
get(String key) |
Map |
getCopyOfContextMap() |
void |
put(String key,
String val) |
void |
remove(String key) |
void |
setContextMap(Map contextMap) |
public void clear()
clear in interface org.slf4j.spi.MDCAdapterpublic void remove(String key)
remove in interface org.slf4j.spi.MDCAdapterpublic Map getCopyOfContextMap()
getCopyOfContextMap in interface org.slf4j.spi.MDCAdapterpublic void setContextMap(Map contextMap)
setContextMap in interface org.slf4j.spi.MDCAdapterCopyright © 2022. All rights reserved.