so whenever a sink with the specified destination
          is mentioned in the settings file, the factory gets called.
        </p>
<p>
          For example, let's register the <code class="computeroutput"><span class="identifier">stat_collector</span></code>
          sink we described <a class="link" href="../extension.html#log.extension.sinks" title="Writing your own sinks">before</a> in
          the library. First, let's remember the sink definition:
        </p>
<p>
</p>
<pre class="programlisting">