public static void clear() {
        if (getMDCAdapter() == null) {
            throw new IllegalStateException(MDC_APAPTER_CANNOT_BE_NULL_MESSAGE);
        }
        getMDCAdapter().clear();
    }
Clear all entries in the MDC of the underlying implementation.
slf4j-api/src/main/java/org/slf4j/MDC.java