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