public static Map<String, String> getCopyOfContextMap() {
        if (getMDCAdapter() == null) {
            throw new IllegalStateException(MDC_APAPTER_CANNOT_BE_NULL_MESSAGE);
        }
        return getMDCAdapter().getCopyOfContextMap();
    }
Return a copy of the current thread's context map, with keys and values of
type String. Returned value may be null.

@return A copy of the current thread's context map. May be null.
@since 1.5.1
slf4j-api/src/main/java/org/slf4j/MDC.java