Hands-On Serverless Applications with Kotlin
上QQ阅读APP看书,第一时间看更新

Logging

Logging is what it says on the tin: statements that get printed out during the execution of the function. They are helpful in instrumenting the code.

In a typical API, these are directed to either StdOut or a file using different appenders.

In AWS Lambda, they are piped to a CloudWatch log group, which can be inspected at a later time.