Logs every API response.