pub fn set_file_sink(file: File)
Redirect all subsequent report content to file (truncating it). Call once, before any rendering. Also resets any prior sticky write error.
file