Background
I have a SwiftUI app that uses OSLog
and the new Logger
framework. In my SwiftUI views, I would like to use something like Self._logChanges()
to help debug issues.
After some trial and error, I can see the messages appear in the System console log for the app I am debugging using the com.apple.SwiftUI
subsystem.
Problem
I'd like to see those same messages directly in Xcode's console window so I can filter them as needed. How do I do that?
Thanks! -Patrick