Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ios: set logger subsystem and category

Saúl Ibarra Corretgé7d972a50f25f
diff --git a/ios/sdk/src/JitsiMeetLogger.m b/ios/sdk/src/JitsiMeetLogger.m
index 245af499e3..03a2a38c1c 100644
--- a/ios/sdk/src/JitsiMeetLogger.m
+++ b/ios/sdk/src/JitsiMeetLogger.m
@@ -26,7 +26,9 @@
*/
__attribute__((constructor))
static void initializeLogger() {
- [DDLog addLogger:[DDOSLogger sharedInstance]];
+ NSString *mainBundleId = [NSBundle mainBundle].bundleIdentifier;
+ DDOSLogger *osLogger = [[DDOSLogger alloc] initWithSubsystem:mainBundleId category:@"JitsiMeetSDK"];
+ [DDLog addLogger:osLogger];
}
+ (void)addHandler:(JitsiMeetBaseLogHandler *)handler {