title: How to add two logger files in .net core using LoggerFactory
body: <pre><code>public class Startup
  {
      public IConfiguration Configuration { get; } 
  
      public void ConfigureServices(IServiceCollection services)
      {   
          loggerFactory.AddFile(logFilePath1);
          services.AddSingleton&lt;ILoggerFactory&gt;(loggerFactory);
  
          loggerFactory.AddFile(logFilePath2);
          services.AddSingleton&lt;ILoggerFactory&gt;(loggerFactory);
      }
  }
  </code></pre>
  
  <p>With in the <code>startup.cs</code> class, I create two loggers . Since it has two loggers  how can I set the Ilogger data in the controller? can it do using normal way? Or is there any different way to pass logger filename when logged within the controller?</p>