static void setMDCAdapter(MDCAdapter anMDCAdapter) {
        if(anMDCAdapter == null) {
            throw new IllegalStateException(MDC_APAPTER_CANNOT_BE_NULL_MESSAGE);
        }
        MDC_ADAPTER = anMDCAdapter;
    }
Set MDCAdapter instance to use.

@since 2.0.17
slf4j-api/src/main/java/org/slf4j/MDC.java