Read a lambda's logs
read_logsWhat a deployed lambda has been doing: its recent requests and how they were answered, what it printed, the errors it threw with their stack traces, and how much traffic it has had in the last hour and day. Call it after deploying to see that it works, and first when something is reported broken.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | The lowest level worth reading: 'info' for everything, 'warn' for problems, 'error' for failures. Left out, 'info'. | |
| limit | No | At most this many lines, the newest. Left out, 100. | |
| since | No | The cursor a previous call answered with, to read only what is new since then. | |
| privateKey | Yes | The editor key, or the key of a demo. |