pub fn parse_log_format(
config: &HashMap<String, Value>,
) -> Result<Option<HashMap<String, Value>>, String>Expand description
Parses a log_format config value (an object of name -> string) into a
map, or None when absent. Returns an error if it is present but not an
object of scalar values.