Formats a user-supplied value for inclusion in a message: truncated and with control characters escaped, so a hostile token name cannot inject terminal sequences or line breaks into diagnostics.
Formats a user-supplied value for inclusion in a message: truncated and with control characters escaped, so a hostile token name cannot inject terminal sequences or line breaks into diagnostics.