title: ILogger to Application Insights
body: <p>Using <code>Microsoft.ApplicationInsights.AspNetCore v2.6.1</code> with .net core v2.2.2 I can see the telemetry going in Azure Application Insight Live Metric Stream but I don't see the entries which I'm trying to log with the <code>ILogger</code> inside the <code>Startup.cs</code> or in a controller.</p>
  
  <p>I've tried <code>.UseApplicationInsights()</code> with <code>WebHost.CreateDefaultBuilder</code> in <code>Program.cs</code> and also in <code>Startup.cs</code> like so, but to no avail. </p>
  
  <pre><code>services.AddApplicationInsightsTelemetry( options =&gt; {
    options.EnableDebugLogger = true;
  });
  </code></pre>
  
  <p>I see incoming requests and request failure rate but no log entries with</p>
  
  <pre><code>this.logger.Log(LogLevel.Error, $"Test Error {Guid.NewGuid().ToString()}");
  this.logger.LogTrace($"Test Trace {Guid.NewGuid().ToString()}");
  this.logger.LogInformation($"Test Information {Guid.NewGuid().ToString()}");
  this.logger.LogWarning($"Test Warning {Guid.NewGuid().ToString()}");
  this.logger.LogCritical($"Test Critical {Guid.NewGuid().ToString()}");
  this.logger.LogError($"Test Error{Guid.NewGuid().ToString()}");
  this.logger.LogDebug($"Test Debug {Guid.NewGuid().ToString()}");
  </code></pre>