Skip to main content

html

Function html 

Source
pub fn html<S>(out: &mut S, level: &Level, span: &str, msg: &str) -> Result
where S: Write + ?Sized,
Expand description

Appends one captured log event as an HTML line.

The level receives its level-specific Matrix color and each component is placed in a code element. A line break terminates the rendered entry.