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

fix: spread tail messages when logging #723

Merged
merged 1 commit into from
Mar 28, 2022
Merged

Conversation

threepointone
Copy link
Contributor

@threepointone threepointone commented Mar 28, 2022

Logged messages (via console, etc) would previously be logged as an array of values. This spreads it when logging to match what is expected.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 28, 2022

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/2054105402/npm-package-wrangler-723

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/723/npm-package-wrangler-723

Or you can use npx with this latest build directly:

npx https://prerelease-registry.developers.workers.dev/runs/2054105402/npm-package-wrangler-723 dev path/to/script.js

@threepointone threepointone force-pushed the test-default-tail-pretty branch from d734528 to d4193fa Compare March 28, 2022 17:43
@changeset-bot
Copy link

changeset-bot bot commented Mar 28, 2022

🦋 Changeset detected

Latest commit: 18cf801

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@threepointone threepointone force-pushed the test-default-tail-pretty branch from d4193fa to cc745c6 Compare March 28, 2022 18:07
Logged messages (via console, etc) would previously be logged as an array of values. This spreads it when logging to match what is expected.
@threepointone threepointone force-pushed the test-default-tail-pretty branch from cc745c6 to 18cf801 Compare March 28, 2022 18:16
@threepointone threepointone changed the title chore: add a test for tail logging complex objects fix: spread tail messages when logging Mar 28, 2022
@threepointone threepointone merged commit 7942936 into main Mar 28, 2022
@threepointone threepointone deleted the test-default-tail-pretty branch March 28, 2022 20:16
@github-actions github-actions bot mentioned this pull request Mar 28, 2022
mrbbot pushed a commit that referenced this pull request Oct 31, 2023
mrbbot pushed a commit that referenced this pull request Nov 1, 2023
mrbbot pushed a commit that referenced this pull request Nov 1, 2023
mrbbot pushed a commit that referenced this pull request Nov 1, 2023
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.

3 participants