From 96f19a3d8937b075080ad70d304ecfa4136b6ff9 Mon Sep 17 00:00:00 2001 From: Rick Hanlon Date: Tue, 18 Feb 2020 07:46:53 -0800 Subject: [PATCH] Replace YellowBox references with LogBox 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 --- Libraries/Utilities/RCTLog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Utilities/RCTLog.js b/Libraries/Utilities/RCTLog.js index b6a368907b..def04d6c3b 100644 --- a/Libraries/Utilities/RCTLog.js +++ b/Libraries/Utilities/RCTLog.js @@ -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); }