Function sonnerie::formatted::print_record
source · pub fn print_record<W: Write>(
record: &Record,
out: &mut W,
print_timestamp: PrintTimestamp<'_>,
print_record_format: PrintRecordFormat
) -> Result<()>
Expand description
Write a formatted record to a stream
Each row is written in the same format that add_from_stream
or add_from_stream_with_fmt
accept, depending
on the options for the parameters print_timestamp
or print_record_format
.