How to get the response data in the log/terminal window after execution of test

It is related to scripting , In General, what are the ways to get the response body of each request .
In Jmeter, we can get the response data i.e header, body in the “view results tree”.
But in K6, i am unable to get the response body in log/terminal window.
Same goes to cloud, there is no option to see the response data after the execution of test.