Skip to content

Commit

Permalink
Replace YellowBox references with LogBox
Browse files Browse the repository at this point in the history
Summary:
This diff replaces some YellowBox references with LogBox so we can remove it.

Changelog: [Internal]

Reviewed By: motiz88

Differential Revision: D19948126

fbshipit-source-id: b26ad1b78d86a8290f7e08396e4a8314fef7a9f3
  • Loading branch information
rickhanlonii authored and facebook-github-bot committed Feb 18, 2020
1 parent af710ab commit 96f19a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Utilities/RCTLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const RCTLog = {
if (typeof global.nativeLoggingHook === 'undefined') {
RCTLog.logToConsole(level, ...args);
} else {
// Report native warnings to YellowBox
// Report native warnings to LogBox
if (warningHandler && level === 'warn') {
warningHandler(...args);
}
Expand Down

0 comments on commit 96f19a3

Please sign in to comment.