Refactor debug logging

Summary:
I dislike the sprinkled eslint ignores. Let's put this
in one place and just depend on isProduction().

Reviewed By: jknoxville

Differential Revision: D14913057

fbshipit-source-id: 2f5a98b7dba1ac1829eaeab24290d2f66820edf9
This commit is contained in:
Pascal Hartig
2019-04-14 02:25:24 -07:00
committed by Facebook Github Bot
parent 460260d620
commit b276088f5f
2 changed files with 13 additions and 17 deletions

View File

@@ -36,6 +36,7 @@ export {
LogLevel,
} from './devices/BaseDevice.js';
export {shouldParseAndroidLog} from './utils/crashReporterUtility.js';
export {default as isProduction} from './utils/isProduction.js';
export {createTablePlugin} from './createTablePlugin.js';
export {default as DetailSidebar} from './chrome/DetailSidebar.js';