<p><pre><code> "\x1B[1;36;40m" "\n" "\x1B[0;37;40m"
</code></pre>
I keep a file sitting around with versions for different colors/languages.
Really? I give location and context and the Why of the message. I make sure that every message is unique (unlike the code I changed in a certain once-prominent US firm's three-letter operating system) as well. I clearly know nothing and shouldn't be in the profession.
In PHP I tend to do something like:<p><pre><code> dd(__DIR__.'/'.__FILE__.':'.__LINE__);
</code></pre>
Which prints out the current script and line, and then stops execution (where dd is var_dump+exit).