public void clear() {
        Map<String, String> map = inheritableThreadLocalMap.get();
        if (map != null) {
            map.clear();
            inheritableThreadLocalMap.remove();
        }
    }
Clear all entries in the MDC.
slf4j-api/src/main/java/org/slf4j/helpers/BasicMDCAdapter.java