ApiLogConfig constructor

const ApiLogConfig({
  1. bool queryParams = true,
  2. bool requestHeader = true,
  3. bool requestBody = true,
  4. bool response = true,
  5. bool responseHeader = true,
  6. bool curl = true,
  7. int? maxResponseLength,
  8. bool hideEmptyValue = true,
})

Creates an ApiLogConfig with the given toggles.

All options default to true so existing behavior is preserved.

Implementation

const ApiLogConfig({
  this.queryParams = true,
  this.requestHeader = true,
  this.requestBody = true,
  this.response = true,
  this.responseHeader = true,
  this.curl = true,
  this.maxResponseLength,
  this.hideEmptyValue = true,
});