Make OS_ACTIVITY_STREAM public

Originator:steipete
Number:rdar://FB8519418 Date Originated:
Status:Open Resolved:
Product:iOS/macOS Product Version:
Classification: Reproducible:
 
Please consider making OS_ACTIVITY_STREAM public. It’s often extremely useful to have a streaming log access in apps, especially during beta testing times. Currently, most folks do not use os_log or shim os_log which makes it lose most of the benefits it offers, so that a streaming log can be implemented.

It would be much faster and more efficient to use the existing streaming functionality directly. 

See following example project, which would be great to have without using the private ActivityStreamSPI.h
https://gist.github.com/steipete/459a065f905a41f8f577fb02ef34206e

https://github.com/apple/llvm-project/blob/apple/master/lldb/tools/debugserver/source/MacOSX/DarwinLog/ActivityStreamSPI.h

Thank you for considering this feature.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!