class LogUtil {

    public static void removeCustomField(final DiagnosticLoggingAdapter loggingAdapter, final String fieldName) {
        final Map<String, Object> mdc = getMDC(loggingAdapter);
        mdc.remove(fieldName);
        loggingAdapter.setMDC(mdc);
    }

    private  LogUtil();

}