TalkerDioLoggerSettings constructor

const TalkerDioLoggerSettings({
  1. bool printResponseData = true,
  2. bool printResponseHeaders = false,
  3. bool printResponseMessage = true,
  4. bool printErrorData = true,
  5. bool printErrorHeaders = true,
  6. bool printErrorMessage = true,
  7. bool printRequestData = true,
  8. bool printRequestHeaders = false,
  9. AnsiPen? requestPen,
  10. AnsiPen? responsePen,
  11. AnsiPen? errorPen,
  12. bool requestFilter(
    1. RequestOptions requestOptions
    )?,
  13. bool responseFilter(
    1. Response response
    )?,
  14. bool errorFilter(
    1. DioException response
    )?,
})

Implementation

const TalkerDioLoggerSettings({
  this.printResponseData = true,
  this.printResponseHeaders = false,
  this.printResponseMessage = true,
  this.printErrorData = true,
  this.printErrorHeaders = true,
  this.printErrorMessage = true,
  this.printRequestData = true,
  this.printRequestHeaders = false,
  this.requestPen,
  this.responsePen,
  this.errorPen,
  this.requestFilter,
  this.responseFilter,
  this.errorFilter,
});