I’m working on a Meta Quest (which is an Android device) game, and I’ve just learned about all the really handy things that the system spews to the console, like these VrApi stats. I know how to get these on my Mac with logcat (and filter with -s), but I’d really like to have them in-game.
Is there any way for my Unity app to receive logcat messages (or some subset of them, like just the VrApi messages) at runtime?
Hmm. Many of the approaches in that SO article are simple running logcat as a subprocess with exec. I wonder if we could do the same thing using System.Diagnostics.Process?