Searched refs:LOG_LEVEL_NAMES (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/log/src/ |
D | serde.rs | 10 use {Level, LevelFilter, LOG_LEVEL_NAMES}; 51 FromStr::from_str(s).map_err(|_| Error::unknown_variant(s, &LOG_LEVEL_NAMES[1..])) in deserialize() 68 let variant = LOG_LEVEL_NAMES[1..] in deserialize() 107 deserializer.deserialize_enum("Level", &LOG_LEVEL_NAMES[1..], LevelEnum) in deserialize() 146 FromStr::from_str(s).map_err(|_| Error::unknown_variant(s, &LOG_LEVEL_NAMES)) in deserialize() 163 let variant = LOG_LEVEL_NAMES in deserialize() 202 deserializer.deserialize_enum("LevelFilter", &LOG_LEVEL_NAMES, LevelFilterEnum) in deserialize()
|
D | lib.rs | 362 static LOG_LEVEL_NAMES: [&str; 6] = ["OFF", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"]; constant 515 LOG_LEVEL_NAMES in from_str() 561 LOG_LEVEL_NAMES[*self as usize] in as_str() 678 LOG_LEVEL_NAMES in from_str() 723 LOG_LEVEL_NAMES[*self as usize] in as_str()
|