buttplug-rs-ffi icon indicating copy to clipboard operation
buttplug-rs-ffi copied to clipboard

Add log level resetting for FFI libraries

Open qdot opened this issue 5 years ago • 1 comments

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

qdot avatar Oct 26 '20 18:10 qdot

I can't even do this with a holder object due to the subscriber type required, so this is still waiting.

qdot avatar Dec 13 '20 05:12 qdot