pub fn parse_level(flag: &'static str, text: &str) -> Result<LogLevel, CliError>
Parses a --level argument, accepting the spellings a user types.
--level
crate::error::CliError::BadArgument naming the accepted values.
crate::error::CliError::BadArgument