llrt
llrt copied to clipboard
Output of console.log is divided in CloudWatch Logs
Hello,
I sometimes write the following code in Lambda to check the contents of an event from API Gateway.
console.log('Received event:', JSON.stringify(event, null, 2));
When this code is executed in node.js, it is displayed collapsed into one line in CloudWatch Logs, but when executed in llrt, it is output divided by line breaks.
node.js:
llrt:
I understand that llrt has a different implementation from node.js, but is it possible to improve this?
Yes. This is a bug. Thanks for reporting 👌