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

Provide invariant.debug as wrapper for console.debug #155

Merged
merged 1 commit into from
Jul 12, 2021
Merged

Conversation

benjamn
Copy link
Member

@benjamn benjamn commented Jul 12, 2021

Messages logged with invariant.debug will be hidden by default, but can be exposed by calling setVerbosity("debug"). This additional verbosity level should be useful for addressing apollographql/apollo-client#8442 (comment).

Messages logged with invariant.debug will be hidden by default, but can
be exposed by calling setVerbosity("debug").

This additional log-level flexibility should be useful for addressing
apollographql/apollo-client#8442 (comment)
@benjamn benjamn self-assigned this Jul 12, 2021
@benjamn benjamn requested a review from brainkim July 12, 2021 16:15
@benjamn benjamn added the enhancement New feature or request label Jul 12, 2021
@benjamn benjamn merged commit be3bfe4 into main Jul 12, 2021
@benjamn benjamn deleted the invariant.debug branch July 12, 2021 16:48
@benjamn benjamn changed the title Provide invariant.debug as wrapper for console.debug. Provide invariant.debug as wrapper for console.debug Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant