Serverless Framework Docs

#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.

Have questions?

Head over to the forums to search for your questions and issues or post a new one.