On Xcode 11.6, I've learned that the Instruments app includes an "os_log" instrument, which reveals some possibly very helpful information for debugging CoreML models. When I run inference on a CoreML model on macOS, I can see logging from the com.apple.coreml
and com.apple.espresso
subsystems about creating and running the model.
What puzzles me is that I don't see those logging messages in the Console app.
So I'm wondering, does the "os_log" instrument in Instruments provide a view of logging messages not available otherwise? Is there any documentation on this instrument? Or is there a way to configure the Console app -- or even better, to use the command-line log
executable -- to see all these messages that are visible Instruments?