kotlin logging with lambda parameters : <p>In log4j2 we have a handy feature which is described as</p>

<pre><code>// Java-8 style optimization: no need to explicitly check the log level:
// the lambda expression is not evaluated if the TRACE level is not enabled
logger.trace("Some long-running operation returned {}", () -&gt; expensiveOperation());
</code></pre>

<p>my attempt to use this in kotlin</p>

<pre><code>log.debug("random {}", { UUID.randomUUID() })
</code></pre>

<p>which will print</p>

<pre><code>random Function0&lt;java.util.UUID&gt;
</code></pre>

<p><strong>How do we use lambda argument logging with kotlin? Or how do we explicitly tell kotlin what method to call?</strong></p>
