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.MDCAdapter
public void remove(String key)
remove
in interface org.slf4j.spi.MDCAdapter
public Map getCopyOfContextMap()
getCopyOfContextMap
in interface org.slf4j.spi.MDCAdapter
public void setContextMap(Map contextMap)
setContextMap
in interface org.slf4j.spi.MDCAdapter
Copyright © 2022. All rights reserved.