/span><span class="special">);</span>

    <span class="comment">// Break the feeding loop</span>
    <span class="identifier">sink</span><span class="special">-&gt;</span><span class="identifier">stop</span><span class="special">();</span>

    <span class="comment">// Flush all log records that may have left buffered</span>
    <span class="identifier">sink</span><span class="special">-&gt;</span><span class="identifier">flush</span><span class="special">();</span>

    <span class="identifier">sink</span