use std::str::FromStr; use log::LevelFilter; fn main() { println!("{:?}", LevelFilter::from_str("INFO")) }