When you do a
console.log(\'Loading function\');
in an amazon lambda function, where does that go?
My setup api gateway lambda functio
If you are testing this with API Gateway, console.log won't print in Test of API test. But don't be confused it works fine and print logs in cloud watch.
Just go to monitoring tab of your lambda you will find your logs.