mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
The behaviour of `Object#inspect` depends on whether it has been overridden by a subclass, but it will typically produce output on a single line. Calling `inspect` on a String will replace newlines with `\n`, which is then safe for interpolation into a log line.