-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace stray console.debug with invariant.log.
Since this message is promotional, I did not feel comfortable using invariant.warn, but our default log level of "warn" would have hidden the message unless setLogVerbosity("log") was called. Since this is the only use of invariant.log in the codebase, I believe it's acceptable to lower the default verbosity level to "log" to allow this particular message to be displayed (otherwise, invariant.log messages are effectively useless). Fixes #7447 and #7453, since React Native polyfills the console object without providing a console.debug method.
- Loading branch information
Showing
2 changed files
with
11 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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