LogInterceptor constructor

LogInterceptor({
  1. bool request = true,
  2. bool requestUrl = true,
  3. bool requestHeader = true,
  4. bool requestBody = false,
  5. bool responseUrl = true,
  6. bool responseHeader = true,
  7. bool responseBody = false,
  8. bool error = true,
  9. void logPrint(
    1. Object object
    ) = _debugPrint,
})

Implementation

LogInterceptor({
  this.request = true,
  this.requestUrl = true,
  this.requestHeader = true,
  this.requestBody = false,
  this.responseUrl = true,
  this.responseHeader = true,
  this.responseBody = false,
  this.error = true,
  this.logPrint = _debugPrint,
});