rust-jack icon indicating copy to clipboard operation
rust-jack copied to clipboard

Verbose/debug logging

Open andrewbaxter opened this issue 7 months ago • 0 comments

I'm trying to figure out how this works, between this library, libjack2, and pipewire-jack. Libjack2 logging depends on JackGlobals.fVerbose being truthy.

AFAICT libjack2 connects to the server then sets JackGlobals.fVerbose based on shared memory with the server. I don't see anything in pipewire-jack that looks like shared memory, so I'm not sure how this works. But libjack2 does logging before connecting to the server, so this is moot.

I think doing JackGlobals::fVerbose = 1 is normal and expected. Would it be possible to expose a method to do this somewhere (for pre-connect logging)? I'm not sure if bindgen supports global variable access.

andrewbaxter avatar Nov 26 '23 10:11 andrewbaxter