ios: set logger subsystem and category
The subsystem is set to the bundle ID and the category to "JitsiMeetSDK".
This commit is contained in:
parent
92e7be34e3
commit
7d972a50f2
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue