public ApiClient setDebugging(boolean debugging) {
        if (debugging != this.debugging) {
            if (debugging) {
                loggingInterceptor = new HttpLoggingInterceptor();
                loggingInterceptor.setLevel(Level.BODY);
                httpClient.interceptors().add(loggingInterceptor);
            } else {
                httpClient.interceptors().remove(loggingInterceptor);
                loggingInterceptor = null;
            }
        }
        this.debugging = debugging;
        return this;
    }
public ApiClient setDebugging ( boolean debugging ) { if ( debugging != this . debugging ) { if ( debugging ) { loggingInterceptor = new HttpLoggingInterceptor ( ) ; loggingInterceptor . setLevel ( Level . BODY ) ; httpClient . interceptors ( ) . add ( loggingInterceptor ) ; } else { httpClient . interceptors ( ) . remove ( loggingInterceptor ) ; loggingInterceptor = null ; } } this . debugging = debugging ; return this ; }
Enable/disable debugging for this API client.

@param debugging To enable (true) or disable (false) debugging
@return ApiClient