There's an example(Paper Company) which demonstrates how logging works.
But no word about activity tree and how it corelates.
I found some descriptions in os.activity module.
Is there any example which demonstrates how activity API is used in swift ?
I don't think logging is available in Swift
You can write a wrapper in Objective-C and call from Swift though
That's usually what I do anytime something is very difficult to do in Swift or feels wrong
Ah, I see we have multiple threads going here. I responded on this one.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"