Skip to main content

Record

Type Alias Record 

Source
pub type Record<'a> = HashMap<&'a str, &'a str>;
Expand description

A single log record: a map of field name to value, both borrowed for the duration of the logging call (e.g. "message", "level", "timestamp").

Aliased Typeยง

pub struct Record<'a> { /* private fields */ }