Looking-Glass / bridge.js

Bridge.js is a javascript API for interacting with Looking Glass displays via Looking Glass Bridge 2.2.0+
https://lookingglassfactory.com/software/looking-glass-bridge
MIT License
8 stars 0 forks source link

implement logging verbosity, update available parameters #10

Closed BryanChrisBrown closed 1 year ago

BryanChrisBrown commented 1 year ago

This PR implements the verbosity feature of Bridge.js allowing the user to control log messages.

We achieve this by wrapping console.log, console.warn, and console.error with our own wrappers in the BridgeClient.

We also update the allow-able parameters that can be sent to Bridge to dynamically update holograms.

There are also minor adjustments to the preview page.