log
Request
Info
private fun logRequestInfo(requestUrl: String, requestPayloadInfo: () -> Unit, response: JSONObject?)
Function to print the details of the request sent if the debugMode is enabled
Parameters
request Url
: the url of the request
request Payload Info
: the payload of the request if sent with the request
response
: the response of the request sent