TalkerDioLoggerSettings constructor

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

Implementation

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