mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 02:22:44 +02:00
Logs app extensions to console.log
This commit is contained in:
@@ -73,7 +73,12 @@ typedef NS_ENUM(NSInteger, ImageCompressionMode)
|
||||
sdkOptions.disableIdenticonUseForUserAvatar = YES;
|
||||
// Enable e2e encryption for newly created MXSession
|
||||
sdkOptions.enableCryptoWhenStartingMXSession = YES;
|
||||
|
||||
|
||||
// NSLog -> console.log file when not debugging the app
|
||||
if (!isatty(STDERR_FILENO))
|
||||
{
|
||||
[MXLogger redirectNSLogToFiles:YES];
|
||||
}
|
||||
});
|
||||
return sharedInstance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user