class="brief "><p class="paragraph">Creates and returns a new local span with the given name and optional parent span.</p></div><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><a href="../../io.github.smyrgeorge.log4k/-tracer/span.html">T</a><span class="token operator">&gt; </span><a href="../../io.github.smyrgeorge.log4k/-tracer/span.html"><span class="token function">span</span></a><span class="token pu