How do you look at console.log output of the amazon lambda function

前端 未结 4 2268
太阳男子
太阳男子 2021-02-12 09:45

When you do a

console.log(\'Loading function\');

in an amazon lambda function, where does that go?

My setup api gateway lambda functio

4条回答
  •  遥遥无期
    2021-02-12 10:47

    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.

提交回复
热议问题