ios: add ability to manually toggle WebRTC logging

This commit is contained in:
Saúl Ibarra Corretgé 2019-10-18 12:11:44 +02:00 committed by Saúl Ibarra Corretgé
parent 6a916fd0e1
commit 63a221212b
1 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#import "ReactUtils.h" #import "ReactUtils.h"
#import <RNGoogleSignin/RNGoogleSignin.h> #import <RNGoogleSignin/RNGoogleSignin.h>
#import <WebRTC/RTCLogging.h>
@implementation JitsiMeet { @implementation JitsiMeet {
@ -54,6 +55,11 @@
// Register a log handler for React. // Register a log handler for React.
registerReactLogHandler(); registerReactLogHandler();
#if 0
// Enable WebRTC logs
RTCSetMinDebugLogLevel(RTCLoggingSeverityInfo);
#endif
} }
return self; return self;