<pclass="last">You are reading an old version of the Evennia documentation. <ahref="https://www.evennia.com/docs/latest/index.html">The latest version is here</a></p>.
<spanid="evennia-server-profiling-timetrace"></span><h1>evennia.server.profiling.timetrace<aclass="headerlink"href="#module-evennia.server.profiling.timetrace"title="Permalink to this headline">¶</a></h1>
<p>Trace a message through the messaging system</p>
<codeclass="sig-prename descclassname">evennia.server.profiling.timetrace.</code><codeclass="sig-name descname">timetrace</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">message</span></em>, <emclass="sig-param"><spanclass="n">idstring</span></em>, <emclass="sig-param"><spanclass="n">tracemessage</span><spanclass="o">=</span><spanclass="default_value">'TEST_MESSAGE'</span></em>, <emclass="sig-param"><spanclass="n">final</span><spanclass="o">=</span><spanclass="default_value">False</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/evennia/server/profiling/timetrace.html#timetrace"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#evennia.server.profiling.timetrace.timetrace"title="Permalink to this definition">¶</a></dt>
<dd><p>Trace a message with time stamps.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>message</strong> (<em>str</em>) – The actual message coming through</p></li>
<li><p><strong>idstring</strong> (<em>str</em>) – An identifier string specifying where this trace is happening.</p></li>
<li><p><strong>tracemessage</strong> (<em>str</em>) – The start of the message to tag.
This message will get attached time stamp.</p></li>
<li><p><strong>final</strong> (<em>bool</em>) – This is the final leg in the path - include total time in message</p></li>
<pclass="last">You are reading an old version of the Evennia documentation. <ahref="https://www.evennia.com/docs/latest/index.html">The latest version is here</a></p>.
</div>
<divclass="footer"role="contentinfo">
© Copyright 2023, The Evennia developer community.
Created using <ahref="https://www.sphinx-doc.org/">Sphinx</a> 3.2.1.