TalkerDioLoggerSettings constructor

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

Implementation

const TalkerDioLoggerSettings({
  this.enabled = true,
  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,
});