PrettyDioLogger constructor

PrettyDioLogger({
  1. bool showRequest = true,
  2. bool showResponse = true,
  3. bool requestHeader = false,
  4. bool queryParameters = false,
  5. bool requestBody = false,
  6. bool responseHeader = false,
  7. bool responseBody = false,
  8. bool showError = false,
  9. bool showCUrl = false,
  10. bool convertFormData = false,
  11. void logPrint(
    1. String msg
    ) = log,
})

Implementation

PrettyDioLogger({
  this.showRequest = true,
  this.showResponse = true,
  this.requestHeader = false,
  this.queryParameters = false,
  this.requestBody = false,
  this.responseHeader = false,
  this.responseBody = false,
  this.showError = false,
  this.showCUrl = false,
  this.convertFormData = false,
  this.logPrint = log,
});