Hi Team,
I went through WWDC 2018 video on 405_measuring_performance_using_logging and would like to replace existing logging mechanism with os_log to gain its benifits with signposts to measure performance.
But there is main blocker as listed below:
1. Current logging mechanism provides easy way to share the App logs by click of button,without need of external systems like Mac/Windows/iTune and its specific to our app resulting in minimum file size in KBs.
How could we achieve this by migrating to os_log, as it logs into a common bulky sysdiagnose file?
1.Could we wrap os_log to log to a file in App's documents folder?
Simple sample code will be helpful, as I could not find more info on wrapping os_log.
2. Could I programatically access sysdiagnose with filters of "my catogery" and export into App's local folder to share as before?
Thanks a ton in Advance!