瀏覽代碼

logging: disable caller info globally

master
Saúl Ibarra Corretgé 6 年之前
父節點
當前提交
02e058370e
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      react/features/base/logging/middleware.js

+ 6
- 0
react/features/base/logging/middleware.js 查看文件

163
         logCollector.stop();
163
         logCollector.stop();
164
         dispatch(setLogCollector(undefined));
164
         dispatch(setLogCollector(undefined));
165
     }
165
     }
166
+
167
+    // Disable caller function info.
168
+    if (navigator.product === 'ReactNative') {
169
+        Logger.setGlobalOptions({ disableCallerInfo: true });
170
+        JitsiMeetJS.setGlobalLogOptions({ disableCallerInfo: true });
171
+    }
166
 }
172
 }
167
 
173
 
168
 /**
174
 /**

Loading…
取消
儲存