IOS下webrtc输出日志

// console output

RTCSetMinDebugLogLevel(kRTCLoggingSeverityInfo);


// file output

self.fileLogger = [[RTCFileLogger alloc] initWithDirPath:logsDirectory maxFileSize:(100 * 1024)];

self.fileLogger.severity = kRTCFileLoggerSeverityInfo;

[self.fileLogger start];