My app consists of two apps - a containing app, and an app extension.
(我的应用程序包含两个应用程序-一个包含应用程序和一个应用程序扩展。)
For each of them, I'm using CocoaLumberjack to log to files. (对于他们每个人,我正在使用CocoaLumberjack记录到文件。)
The containing app outputs the logs to some files, and the extension outputs the logs to other files. (包含的应用程序将日志输出到某些文件,而扩展程序将日志输出到其他文件。)
Is it possible that the containing app and the extension would log to the same file?
(包含的应用程序和扩展名是否有可能登录到同一文件?)
So instead of opening one log file to check logs from the containing app, and then opening another file to check logs from the extension, it will be possible to see all the logs at the same file? (因此,不是打开一个日志文件来检查包含应用程序的日志,然后打开另一个文件来检查扩展中的日志,而是可以查看同一文件中的所有日志?)
ask by Roee84 translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…