Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added --log-output option to console log payload body for local testing #438

Merged
merged 2 commits into from
Feb 2, 2021

Conversation

miketalley
Copy link
Contributor

@miketalley miketalley commented Jan 28, 2021

Description and Context

The function execution return value is not logged anywhere for easy viewing when running the hs functions test command. This PR adds the --log-output option that can be used to log this output. The default value is false for this option to mimic production.

Screenshots

image

Who to Notify

@TheWebTech - As discussed in the comments of the getting started doc.

@miketalley miketalley merged commit 0855539 into master Feb 2, 2021
@miketalley miketalley deleted the serverless/add-local-testing-logging branch February 2, 2021 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants