Trinterceptors constructor
Trinterceptors({
- bool logRequest = true,
- bool logRequestHeader = false,
- bool logRequestBody = false,
- bool logResponseHeader = false,
- bool logResponseBody = true,
- bool logError = true,
- bool compact = true,
- int maxWidth = 90,
- bool enabled = true,
- void logPrint(
- Object object
- bool filter(
- RequestOptions options,
- 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,
});