fix(debug): allow multiple instances#4665
Merged
timsuchanek merged 11 commits intomasterfrom Dec 17, 2020
Merged
Conversation
Jolg42
added a commit
that referenced
this pull request
Dec 28, 2020
* master: fix(deps): update engines to v2.14.0-26.59cf08bf47e90cb37532900059f3328b4328237c (#4774) chore(deps): update definitelytyped fix(client): raw transactions (#4759) fix(deps): update engines to v2.14.0-22.85cf7930a5fc63cd99fa483153fd33cb35d49cfa chore(deps): update studio to v0.332.0 fix(client): improve error links (#4753) fix(deps): update engines to v2.14.0-21.aed47bccd0e3bc61e2a26b14315e2dd839d35a12 chore: bump engines (#4749) fix: fail early for known errors (#4734) chore: cleanup (#4707) fix(debug): allow multiple instances (#4665) chore: wip debug vercel (#4705) fix(deps): update engines to v2.14.0-17.af950b3705ef175e85492660c621085eb7f99557 chore(deps): update dependency rollup-plugin-dts to v2 (#4323) feat(client): add more jsdoc to Prisma Client (#4388) fix(deps): update engines to v2.14.0-16.c033861e8ed093701af214a25e2bb3e03edacf7c # Conflicts: # package.json # pnpm-lock.yaml # src/packages/client/package.json # src/packages/client/src/runtime/getPrismaClient.ts # src/packages/debug/package.json # src/packages/engine-core/package.json # src/packages/generator-helper/package.json # src/packages/get-platform/package.json # src/pnpm-lock.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In order to allow our advanced use of the
debugpackage, I had to lift it into our codebase and adjust it. The basic behavior we want:Get a hook, so that we can buffer all the logs, no matter if debug was enabled or not.
In order to have this feature now, because we need it, I added it here.
This could be added to the
debuglibrary fairly easily in a separate step, if the maintainers there would be open.