buttplugio / buttplug-rs-ffi

FFI from buttplug-rs to Java and other languages
Other
89 stars 22 forks source link

Add log level resetting for FFI libraries #23

Open qdot opened 3 years ago

qdot commented 3 years ago

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:

qdot commented 3 years ago

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