Crate prefix_writer

Crate prefix_writer 

Source
Expand description

Crate for a writer that can prefix text that contains multiple lines or incomplete lines.

Structsยง

PrefixWriter
Scans lines and prefixes lines with a given prefix. Will work even when a write contains multiple lines or incomplete lines between writes. It will not prefix empty lines.