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

Fix LogBox.ignoreAllLogs used with no argument #29310

Closed

Conversation

rickhanlonii
Copy link
Member

Summary

When you call LogBox.ignoreAllLogs() it should ignore logs.

This fixes a bug that made this equivalent to LogBox.ignoreAllLogs(false)

Changelog

[General] [Fixed] - LogBox.ignoreAllLogs() should ignore logs

Test Plan

Added tests

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jul 9, 2020
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@rickhanlonii has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 6,764,990 0
android hermes armeabi-v7a 6,427,925 0
android hermes x86 7,152,623 0
android hermes x86_64 7,042,550 0
android jsc arm64-v8a 8,936,316 0
android jsc armeabi-v7a 8,591,663 0
android jsc x86 8,767,077 0
android jsc x86_64 9,342,614 0

Base commit: ffa3d7f

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: ffa3d7f

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @rickhanlonii in f28c750.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jul 9, 2020
@rickhanlonii rickhanlonii deleted the rh-fix-ignore-all-logs branch July 9, 2020 12:57
grabbou pushed a commit that referenced this pull request Jul 14, 2020
Summary:
When you call `LogBox.ignoreAllLogs()` it should ignore logs.

This fixes a bug that made this equivalent to `LogBox.ignoreAllLogs(false)`

## Changelog

[General] [Fixed] - LogBox.ignoreAllLogs() should ignore logs

Pull Request resolved: #29310

Test Plan: Added tests

Reviewed By: TheSavior

Differential Revision: D22448436

Pulled By: rickhanlonii

fbshipit-source-id: 6ba12b9d9c1f29cf3ac503946ac5ca0097425a7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants