pub fn run_post_processing_logged(
xml: &str,
opts: &PostOptions<'_>,
) -> PostOutcomeExpand description
Run post-processing while capturing its log into a fresh thread-local
LOG_BUFFER. Converter::convert() already flushed the core log into its
own response, leaving the buffer unbound — so without re-binding here every
post-phase Info!/Warn!/post_error (incl. a silent EPS→PNG failure)
reaches stderr only and never the persisted --log/cortex.log. Perl’s
single flush_log() after convert_post sweeps up the post log for ALL
consumers; this is the Rust equivalent, shared by the latexml_oxide and
cortex_worker binaries so their logs reach parity. See SYNC_STATUS task 5.