os_signpost - logging to a file

I have gone through WWDC video ( https://developer.apple.com/videos/play/wwdc2018/405/ ) that demonstrates the best practices of using os_signpost logs to measure iOS application performance.


I have below questions about the possiblities with os_signpost


Is it possible to direct all os_signpost logs into a file and write it to file system. My usecase is to run an iOS app with os_signpost logs without connecting it to Console / Instruments app. Once a performance testing is complete, I would like to extract these logs for analysis.


Thanks in advance.