Logs: Logs app extensions into separate files (console-share.log & console-siri.log)

This commit is contained in:
manuroe
2017-10-20 17:13:12 +02:00
parent 8bc1982ee8
commit cd0b4213b2
2 changed files with 2 additions and 0 deletions
@@ -77,6 +77,7 @@ typedef NS_ENUM(NSInteger, ImageCompressionMode)
// NSLog -> console.log file when not debugging the app
if (!isatty(STDERR_FILENO))
{
[MXLogger setSubLogName:@"share"];
[MXLogger redirectNSLogToFiles:YES];
}
});