Skip to main content

to_string

Function to_string 

Source
pub fn to_string(events: &[Event<'_>]) -> Result<String, Error>
Expand description

Write &[Event] to String. Defines a default track with track_id of 0.

See also Metro::to_string.

See also to_vec and to_writer.