public final class MDCUtils extends Object
| Constructor and Description |
|---|
MDCUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
gatherMdcContext(Throwable exception)
Finds all MDC context information in the causal chain and combines them
into one map.
|
public static Map<String,String> gatherMdcContext(Throwable exception)
exception - The exception for which to gather the MDC context
information.Map, but never null.