ApiLogOptions constructor

const ApiLogOptions({
  1. bool enabled = true,
  2. bool request = true,
  3. bool requestHeader = false,
  4. bool requestBody = true,
  5. bool responseHeader = false,
  6. bool responseBody = true,
  7. bool error = true,
  8. int maxWidth = 90,
  9. bool compact = true,
  10. void logPrint(
    1. Object object
    )?,
})

Implementation

const ApiLogOptions({
  this.enabled = true,
  this.request = true,
  this.requestHeader = false,
  this.requestBody = true,
  this.responseHeader = false,
  this.responseBody = true,
  this.error = true,
  this.maxWidth = 90,
  this.compact = true,
  this.logPrint,
});