<h2class="anchor anchorWithStickyNavbar_JmGV"id="parameters">Parameters<aclass="hash-link"aria-label="Direct link to Parameters"title="Direct link to Parameters"href="/api/namespaces/containerEngine/functions/logsContainer#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<aclass="hash-link"aria-label="Direct link to Returns"title="Direct link to Returns"href="/api/namespaces/containerEngine/functions/logsContainer#returns"></a></h2>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="source">Source<aclass="hash-link"aria-label="Direct link to Source"title="Direct link to Source"href="/api/namespaces/containerEngine/functions/logsContainer#source"></a></h2>