buttplug-rs-ffi
buttplug-rs-ffi copied to clipboard
Add log level resetting for FFI libraries
Waiting for the next version of tracing, but will use tracing_subscriber::reload::Handle to hold a global (lazy_static) handle to the level. Just can't do this currently because of issues with generic types in statics, and don't want to create a holder object for it.
ToDo:
- [ ] Rust FFI
- [ ] C#
- [ ] WASM
I can't even do this with a holder object due to the subscriber type required, so this is still waiting.