Is there a way to neatly log JSON data to the firebase logs? When I use:
console.log(req.body)
or
console.log(`${req.body.event}: ${JSON.stringify(req.body, null, 2)}`);
it displays the output on multiple lines as shown in the image below.
I am running my firebase cloud functions on Node 10