TalkerDioLoggerSettings constructor
const
TalkerDioLoggerSettings({
- bool enabled = true,
- bool printResponseData = true,
- bool printResponseHeaders = false,
- bool printResponseMessage = true,
- bool printErrorData = true,
- bool printErrorHeaders = true,
- bool printErrorMessage = true,
- bool printRequestData = true,
- bool printRequestHeaders = false,
- AnsiPen? requestPen,
- AnsiPen? responsePen,
- AnsiPen? errorPen,
- bool requestFilter(
- RequestOptions requestOptions
- bool responseFilter(
- Response response
- bool errorFilter(
- DioException response
Implementation
const TalkerDioLoggerSettings({
this.enabled = true,
this.printResponseData = true,
this.printResponseHeaders = false,
this.printResponseMessage = true,
this.printErrorData = true,
this.printErrorHeaders = true,
this.printErrorMessage = true,
this.printRequestData = true,
this.printRequestHeaders = false,
this.requestPen,
this.responsePen,
this.errorPen,
this.requestFilter,
this.responseFilter,
this.errorFilter,
});