TalkerDioLoggerSettings constructor

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

Implementation

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