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. AnsiPen? requestPen,
  16. AnsiPen? responsePen,
  17. AnsiPen? errorPen,
  18. bool requestFilter(
    1. RequestOptions requestOptions
    )?,
  19. bool responseFilter(
    1. Response response
    )?,
  20. 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.requestPen,
  this.responsePen,
  this.errorPen,
  this.requestFilter,
  this.responseFilter,
  this.errorFilter,
});