Trinterceptors constructor

Trinterceptors({
  1. bool logRequest = true,
  2. bool logRequestHeader = false,
  3. bool logRequestBody = false,
  4. bool logResponseHeader = false,
  5. bool logResponseBody = true,
  6. bool logError = true,
  7. bool compact = true,
  8. int maxWidth = 90,
  9. bool enabled = true,
  10. void logPrint(
    1. Object object
    ) = print,
  11. bool filter(
    1. RequestOptions options,
    2. FilterArgs args
    )?,
})

Implementation

Trinterceptors({
  this.logRequest = true,
  this.logRequestHeader = false,
  this.logRequestBody = false,
  this.logResponseHeader = false,
  this.logResponseBody = true,
  this.logError = true,
  this.compact = true,
  this.maxWidth = 90,
  this.enabled = true,
  this.logPrint = print,
  this.filter,
});