withErrorsOnly method

ISpectDioInterceptorSettingsBuilder withErrorsOnly()
inherited

Configures to log only errors (disables request/response logging).

Implementation

B withErrorsOnly() {
  printRequestData = false;
  printRequestHeaders = false;
  printResponseData = false;
  printResponseHeaders = false;
  printResponseMessage = false;
  printErrorData = true;
  printErrorHeaders = true;
  printErrorMessage = true;
  return _self;
}