/* Bridges idevicerestore's logger to a Rust sink.
*
* idevicerestore logs through logger()/print_func, whose callback takes a
* va_list. Rust can't consume a va_list on stable, so this trampoline formats
* the message with vsnprintf and hands a finished string to Rust. It also
* silences idevicerestore's own stdout/stderr writes so our progress UI owns
* the terminal and the captured lines can be surfaced in error messages. */
/* idevicerestore's print threshold (defined in log.c, not exported in log.h). */
extern enum loglevel print_level;
/* Implemented in Rust (restorekit-sys). */
void ;
static void
void