horike37 76a3a79abc Revert "add document for commands aliases"
This reverts commit ab5dea7153304d130928ec2f8deed2e678cb681d.
2017-09-02 11:13:11 +09:00

833 B

Read this on the main serverless docs site

Google - Logs

Lets you watch the logs of a specific function.

serverless logs --function functionName

Options

  • --function or -f The function you want to fetch the logs for. Required
  • --count or -c The number of logs to display.

Examples

Retrieving logs

serverless logs --function functionName

This will display logs for the specified function.