public class NOPMDCAdapter extends Object implements MDCAdapter
MDCAdapter interface.
It is used for all logging systems which do not support mapped
diagnostic contexts such as JDK14, simple and NOP.| Constructor and Description |
|---|
NOPMDCAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
get(String key) |
Map<String,String> |
getCopyOfContextMap() |
void |
put(String key,
String val) |
void |
remove(String key) |
void |
setContextMap(Map<String,String> contextMap) |
public void clear()
clear in interface MDCAdapterpublic String get(String key)
get in interface MDCAdapterpublic void put(String key, String val)
put in interface MDCAdapterpublic void remove(String key)
remove in interface MDCAdapterpublic Map<String,String> getCopyOfContextMap()
getCopyOfContextMap in interface MDCAdapterpublic void setContextMap(Map<String,String> contextMap)
setContextMap in interface MDCAdapterCopyright © 2005–2019 QOS.ch. All rights reserved.