interceptRequest method
Implementation
@override
Future<RequestData> interceptRequest({required RequestData data}) async {
logFunction('Request: ${data.method} ${data.url}');
logFunction('Headers: ${data.headers}');
if (data.body != null) {
logFunction('Body: ${data.body}');
}
return data;
}