Skip to content

Commit

Permalink
Merge pull request #212 from AdrianToman1/app-insights-2.21.0
Browse files Browse the repository at this point in the history
App Insights 2.21.0
  • Loading branch information
nblumhardt authored Mar 15, 2023
2 parents 8308899 + d26deff commit eaec9c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Serilog" Version="2.11.0"/>
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.20.0"/>
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.21.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public abstract class ApplicationInsightsTest

protected ApplicationInsightsTest(ITelemetryConverter converter = null)
{
var tc = new TelemetryConfiguration("", _channel = new UnitTestTelemetryChannel());
var tc = new TelemetryConfiguration { TelemetryChannel = _channel = new UnitTestTelemetryChannel() };

Logger = new LoggerConfiguration()
.WriteTo.ApplicationInsights(tc, converter ?? TelemetryConverter.Traces)
Expand Down

0 comments on commit eaec9c8

Please sign in to comment.