Function set_output_capture

pub fn set_output_capture(sink: Option<Arc<Mutex<Vec<u8>>>>) -> Option<Arc<Mutex<Vec<u8>>>>

Sets the thread-local output capture buffer and returns the old one.