logging: disable caller info globally

This commit is contained in:
Saúl Ibarra Corretgé 2019-08-23 15:09:04 +02:00 committed by Saúl Ibarra Corretgé
parent 8a7b795d37
commit 02e058370e
1 changed files with 6 additions and 0 deletions

View File

@ -163,6 +163,12 @@ function _initLogging({ dispatch, getState }, loggingConfig, isTestingEnabled) {
logCollector.stop(); logCollector.stop();
dispatch(setLogCollector(undefined)); dispatch(setLogCollector(undefined));
} }
// Disable caller function info.
if (navigator.product === 'ReactNative') {
Logger.setGlobalOptions({ disableCallerInfo: true });
JitsiMeetJS.setGlobalLogOptions({ disableCallerInfo: true });
}
} }
/** /**