Skip to main content

render

Function render 

Source
pub fn render(record: Log, format: LogFormat) -> String
Expand description

Re-emit a record using the chosen LogFormat.

The record’s format field is overwritten so the wire shape follows format, not whatever was in the input.