Is there a way to get a debug writer, similar to what std.debug.print does, but more generically as an entire writer? This is just to print information when I don’t have access to a writer. Something like this:
Use std.debug.lockStderr to acquire stderr for writing, then use std.debug.unlockStderr to unlock it - this is what std.debug.print and the like use to write to stderr.