title: Castle Windsor: "LoggingFacility.UseNLog() is obsolete"
body: <p>Long ago, I made a little project wherein I hoped to learn about Castle Windsor.  I put it aside (before really learning all that much) for quite some time.  I just opened it up again now, and updated NuGet packages, and started getting a warning CS0618:</p>
  
  <blockquote>
    <p>'LoggingFacility.UseNLog()' is obsolete: 'A logger factory
    implementation type should be provided via LogUsing(), this will be
    removed in the future.'</p>
  </blockquote>
  
  <p>I've googled based on this, but it's still not clear to me what I am supposed to do in order to replace the now-obsolete call, which is:</p>
  
  <pre><code>container.AddFacility&lt;LoggingFacility&gt;(f =&gt; f.UseNLog());
  </code></pre>
  
  <p>Any help would be appreciated.  Thanks!</p>