public class TestMDCAdapter extends Object implements org.slf4j.spi.MDCAdapter
| Constructor and Description |
|---|
TestMDCAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
get(String key) |
com.google.common.collect.ImmutableMap<String,String> |
getCopyOfContextMap() |
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 com.google.common.collect.ImmutableMap<String,String> getCopyOfContextMap()
getCopyOfContextMap in interface org.slf4j.spi.MDCAdapterpublic void setContextMap(Map contextMap)
setContextMap in interface org.slf4j.spi.MDCAdapterCopyright © 2018. All rights reserved.