pub fn log_level_matches(level: &str, target: &str) -> boolExpand description
Compares two configured log levels without accepting empty values.
§Parameters
level: Input consumed bycrate::http::log_level_matches.target: Input consumed bycrate::http::log_level_matches.
§Returns
Returns true when the condition checked by crate::http::log_level_matches holds and false otherwise.
§Examples
ⓘ
let _result = pharos_runtime_core::http::log_level_matches("info", "/");§Related
crate::httpfor adjacent helpers that share the same runtime surface.