NLog: color specific words in ColoredConsole
<p>Is there a way to color specific words with NLog? My target is a <code>ColoredConsole</code>.</p>

<p>Let's say I want to color <em>longdate</em> red and <em>callsite</em> blue. What is the best way to do that? This doesn't seem to work:</p>

<pre class="lang-xml prettyprint-override"><code>&lt;target xsi:type="ColoredConsole"
        name="debugConsole"            
        layout="${longdate} ${callsite} ${message}"&gt;
  &lt;highlight-word text="${longdate}" foregroundColor="Red" /&gt;
  &lt;highlight-word text="${callsite}" foregroundColor="Blue" /&gt;
&lt;/target&gt;
</code></pre>