Fn - Logs

Lets you watch the logs of a specific function.

serverless logs -f hello

Options

  • --function or -f The function you want to fetch the logs for. Required

Examples

serverless logs -f hello

This will fetch the logs for hello for the most recent calls to it.

Edit this page

Fn - Logs

Lets you watch the logs of a specific function.

serverless logs -f hello

Options

  • --function or -f The function you want to fetch the logs for. Required

Examples

serverless logs -f hello

This will fetch the logs for hello for the most recent calls to it.