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

feat(client): add 'none' color option to default logger, add withContext option #5714

Merged
merged 3 commits into from
May 14, 2024

Conversation

jonluca
Copy link
Contributor

@jonluca jonluca commented May 12, 2024

Closes #

🎯 Changes

Adds a none color option to the default loggerLink, and adds a withContext option to the logger

@jonluca jonluca requested a review from a team as a code owner May 12, 2024 03:55
Copy link

vercel bot commented May 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
www ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 4:20pm

Copy link

vercel bot commented May 12, 2024

@jonluca is attempting to deploy a commit to the trpc Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Member

@KATT KATT left a comment

Choose a reason for hiding this comment

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

Thanks for this! Definitely something we should add.

Please add tests 🙏

The tests can be found here:

describe('loggerLink', () => {

@KATT KATT changed the title feat: add 'none' color option to default logger, add withContext option feat(client): add 'none' color option to default logger, add withContext option May 14, 2024
@KATT KATT merged commit 0fb9a1d into trpc:next May 14, 2024
34 of 37 checks passed
Copy link

This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants