Closed
Description
Now that APIG stage logs can be enabled, it would be very useful, if the "serverless logs" command could show these logs too. This would add the same convinience as for function logs.
Proposal
Add an --api
switch to the command, that can be used instead of --function
.
Samples
serverless logs --api --alias=myAlias --stage=dev --tail
serverless logs --api --stage=dev --tail
serverless logs --function=myFunc --alias=myAlias --stage=dev --tail