/// Finalizes output by writing all queued records
Finalizes output by writing all queued records
Finalizes output by writing all queued records
pub fn finish(&mut self) -> Result<(), Report> {
    self.write_queued_records()?;
    if let Some(output_json_writer) = &mut self.output_json_writer {
      output_json_writer.finish()?;
    }
    Ok(())
  }
pub fn finish ( & mut self ) -> Result < ( ) , Report > { self . write_queued_records ( ) ? ; if let Some ( output_json_writer ) = & mut self . output_json_writer { output_json_writer . finish ( ) ? ; } Ok ( ( ) ) }
Finalizes output by writing all queued records
Finalizes output by writing all queued records
&mut self