function phutil_loggable_string($string)libphutil Technical Documentation (Core Utilities)
function phutil_loggable_string($string)
libphutil Technical Documentation (Core Utilities)
Converts a string to a loggable one, with unprintables and newlines escaped.
Parameters
string | $string | Any string. |
Return
string | String with control and newline characters escaped, suitable for printing on a single log line. |
- Defined
- src/utils/utils.php:1011