public class Slf4jLogbackMDCAdapter
extends ch.qos.logback.classic.util.LogbackMDCAdapter
| Constructor and Description |
|---|
Slf4jLogbackMDCAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearDequeByKey(String key) |
String |
get(String key) |
Map |
getCopyOfContextMap() |
Deque<String> |
getCopyOfDequeByKey(String key) |
Set<String> |
getKeys() |
Map<String,String> |
getPropertyMap() |
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 put(String key, String val) throws IllegalArgumentException
put in interface org.slf4j.spi.MDCAdapterput in class ch.qos.logback.classic.util.LogbackMDCAdapterIllegalArgumentExceptionpublic String get(String key)
get in interface org.slf4j.spi.MDCAdapterget in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic void remove(String key)
remove in interface org.slf4j.spi.MDCAdapterremove in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic void clear()
clear in interface org.slf4j.spi.MDCAdapterclear in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic Map<String,String> getPropertyMap()
getPropertyMap in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic Map getCopyOfContextMap()
getCopyOfContextMap in interface org.slf4j.spi.MDCAdaptergetCopyOfContextMap in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic Set<String> getKeys()
getKeys in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic void setContextMap(Map contextMap)
setContextMap in interface org.slf4j.spi.MDCAdaptersetContextMap in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic void pushByKey(String key, String value)
pushByKey in interface org.slf4j.spi.MDCAdapterpushByKey in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic String popByKey(String key)
popByKey in interface org.slf4j.spi.MDCAdapterpopByKey in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic Deque<String> getCopyOfDequeByKey(String key)
getCopyOfDequeByKey in interface org.slf4j.spi.MDCAdaptergetCopyOfDequeByKey in class ch.qos.logback.classic.util.LogbackMDCAdapterpublic void clearDequeByKey(String key)
clearDequeByKey in interface org.slf4j.spi.MDCAdapterclearDequeByKey in class ch.qos.logback.classic.util.LogbackMDCAdapterCopyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.