serveless send log to cloudwatch code example Example: enable detailed cloudwatch metrics serverless provider: logs: restApi: true