pub fn remove_invalid(name: &str) -> String
Expand description
Remove invalid characters from name
. Used for values in PARAM-NAME
and SD-ID from RFC5424. Removes '=', ' ', ']', '"'
, and non-printable
ASCII characters. The filtered message is then truncated to 32 characters.