punctuation">(</span><span class="token string">'route:index'</span><span class="token punctuation">,</span> <span class="token string">'logger'</span><span class="token punctuation">,</span> <span class="token string">'logger:main'</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span aria-hidden="true" class="line-numbers-rows"><a href="#C6_L1" id=C6_L1></a></span></code></pre>
<p>In this case, the logger will only be injected on the index route.</p>
<p>Injections ca