pub fn format_log_record(record: &Record<'_>) -> String
Expand description

This function formats the given log Record into a string, which can then be written directly to the logging sink (e.g. stderr, a file, etc.).