pub fn write_report<W: Write>(
out: &mut W,
report: &Report,
json: bool,
style: Style,
) -> Result<()>Expand description
emit against an arbitrary writer, for tests and for callers that capture
output. Never emits escape codes unless style allows them.