mixed-reality-extension-sdk
mixed-reality-extension-sdk copied to clipboard
Feature Request: Means for in-VR log display
Maybe a subset of #63 , but I'm envisioning a way to conveniently redirect output going to console.log(...)
or similar to a (text) actor displayed in VR, to allow for users without having access to the Node.js server's console to view error/debug messages if the service configured it.
Handy if you wish to set up more complex objects which require e.g. setting up additional parameters using the sessionID or within the URL and when there's room for error.
Very useful. I did this with the old SDK.
This seems like the sort of thing a third-party library would be useful for! Maybe you could make one @willneedit? A global exception handler hooked up to a text actor?
I had the log output in the cockpit. Very useful when the headset is on.
Sounds like an idea. I'm already thinking about an even more generalized version. A log sink that could take unhandled exceptions/rejections... or messages which would normally go off to console.log() and its like.
Not sure about hooking myself into the logging facility the SDK already seems to have. For example, logging the network debug and trying to output that on an actor would be a disaster waiting to happen...