mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
835 B
835 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
--functionor-fThe function you want to fetch the logs for. Required--countor-cThe number of logs to display.
Examples
Retrieving logs
serverless logs --function functionName
This will display logs for the specified function.