Remove RCTLog from prod builds

Reviewed By: javache

Differential Revision: D3437532

fbshipit-source-id: 973491fe74614d381a173a067fb2dd376e14a36a
This commit is contained in:
Alexander Blom 2016-06-15 10:15:10 -07:00 committed by Facebook Github Bot 0
parent 1579a72ca6
commit 5db4aad347
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ function setUpConsole() {
const ExceptionsManager = require('ExceptionsManager');
ExceptionsManager.installConsoleErrorReporter();
require('RCTLog');
if (__DEV__) {
require('RCTLog');
}
}
/**