命令行日志改进
来源: Vercel News
Vercel CLI v35 introduces new commands to access of deployment and runtime logs:
vercel deploy --logsdeploys and shows build logsvercel inspect --logsshows build logs for an existing deploymentvercel logsnow follows runtime logs of an existing deployment
You can now use the --json option to stream logs as JSON. This makes it easier to parse and filter logs using tools like jq.
To use these features, update to the latest version of the Vercel CLI: