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

Add middleware to allow DEBUG=inngest:* debug logs #217

Closed
wants to merge 4 commits into from

Conversation

jpwilliams
Copy link
Member

Summary

Allows users to specify a DEBUG=inngest:* environment variable to see debug logging for function runs and event sending. Uses debug, an exceedingly-common JS tool for this.

Doesn't log too much right now, just basic information about a function which is nice to go alongside a user's own logs.

image

@jpwilliams jpwilliams self-assigned this Jun 7, 2023
@changeset-bot
Copy link

changeset-bot bot commented Jun 7, 2023

🦋 Changeset detected

Latest commit: 43090f0

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

This PR includes changesets to release 1 package
Name Type
inngest 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

Copy link
Contributor

@darwin67 darwin67 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jpwilliams jpwilliams added the ✨ new New features, integrations, or exports label Oct 11, 2023
@jpwilliams
Copy link
Member Author

Closing; v3 provides this by default now.

@jpwilliams jpwilliams closed this Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ new New features, integrations, or exports
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants