Skip to main content

parse_level

Function parse_level 

Source
pub fn parse_level(s: &str) -> Option<Level>
Expand description

Parse a level string (case-insensitive) into a Level.

Accepts: "trace", "debug", "info", "warn" / "warning", "error", or numeric "0""4".