configure method
void
configure({})
Method to update settings of TalkerDioLogger
Implementation
void configure({
bool? printResponseData,
bool? printResponseHeaders,
bool? printResponseMessage,
bool? printRequestData,
bool? printRequestHeaders,
AnsiPen? requestPen,
AnsiPen? responsePen,
AnsiPen? errorPen,
}) {
settings = settings.copyWith(
printRequestData: printRequestData,
printRequestHeaders: printRequestHeaders,
printResponseData: printResponseData,
printResponseHeaders: printResponseHeaders,
printResponseMessage: printResponseMessage,
requestPen: requestPen,
responsePen: responsePen,
errorPen: errorPen,
);
}