<h2class="anchor anchorWithStickyNavbar_JmGV"id="parameters">Parameters<ahref="#parameters"class="hash-link"aria-label="Direct link to Parameters"title="Direct link to Parameters"></a></h2>
<p>the id of the engine managing the container, obtained from the result of <ahref="/api/namespaces/containerEngine/functions/listContainers">containerEngine.listContainers</a></p>
<p>• <strong>id</strong>: <code>string</code></p>
<p>the id of the container on this engine, obtained from the result of <ahref="/api/namespaces/containerEngine/functions/listContainers">containerEngine.listContainers</a> or as the result of <ahref="/api/namespaces/containerEngine/functions/createContainer">containerEngine.createContainer</a></p>
<p>• <strong>callback</strong></p>
<p>the function called when new logs are emitted or new events happen on the stream. The value of <code>name</code> can be either <code>data</code> (and <code>data</code> contains the logs), or <code>end</code> indicating the end of the stream, or <code>first-message</code> indicating no data has been emitted yet on the stream.</p>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="returns">Returns<ahref="#returns"class="hash-link"aria-label="Direct link to Returns"title="Direct link to Returns"></a></h2>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="defined-in">Defined in<ahref="#defined-in"class="hash-link"aria-label="Direct link to Defined in"title="Direct link to Defined in"></a></h2>