Soenneker.Extensions.LoggerConfiguration.ApplicationInsights
4.0.1352
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Extensions.LoggerConfiguration.ApplicationInsights --version 4.0.1352
NuGet\Install-Package Soenneker.Extensions.LoggerConfiguration.ApplicationInsights -Version 4.0.1352
<PackageReference Include="Soenneker.Extensions.LoggerConfiguration.ApplicationInsights" Version="4.0.1352" />
<PackageVersion Include="Soenneker.Extensions.LoggerConfiguration.ApplicationInsights" Version="4.0.1352" />
<PackageReference Include="Soenneker.Extensions.LoggerConfiguration.ApplicationInsights" />
paket add Soenneker.Extensions.LoggerConfiguration.ApplicationInsights --version 4.0.1352
#r "nuget: Soenneker.Extensions.LoggerConfiguration.ApplicationInsights, 4.0.1352"
#:package Soenneker.Extensions.LoggerConfiguration.ApplicationInsights@4.0.1352
#addin nuget:?package=Soenneker.Extensions.LoggerConfiguration.ApplicationInsights&version=4.0.1352
#tool nuget:?package=Soenneker.Extensions.LoggerConfiguration.ApplicationInsights&version=4.0.1352
Soenneker.Extensions.LoggerConfiguration.ApplicationInsights
Serilog LoggerConfiguration extensions for wiring Application Insights sinks, levels, and telemetry behavior from application configuration.
Installation
dotnet add package Soenneker.Extensions.LoggerConfiguration.ApplicationInsights
Usage
using Soenneker.Extensions.LoggerConfiguration.ApplicationInsights;
loggerConfiguration.AddApplicationInsightsLogging(serviceProvider, configuration);
The sink is added only when Azure:AppInsights:Enable is true. It resolves TelemetryConfiguration from the supplied service provider, uses TelemetryConverter.Traces, and wraps the sink with Serilog's async sink.
The minimum level comes from the shared logging configuration extension (GetLogEventLevel()). When disabled, the method makes no change. When enabled, TelemetryConfiguration must already be registered or service resolution throws.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Serilog.Sinks.ApplicationInsights (>= 5.0.1)
- Serilog.Sinks.Async (>= 2.1.0)
- Soenneker.Extensions.Configuration.Logging (>= 4.0.205)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1361 | 61 | 9/1/2026 |
| 4.0.1360 | 76 | 8/31/2026 |
| 4.0.1359 | 70 | 8/31/2026 |
| 4.0.1358 | 77 | 8/31/2026 |
| 4.0.1357 | 81 | 8/30/2026 |
| 4.0.1356 | 80 | 8/30/2026 |
| 4.0.1355 | 73 | 8/30/2026 |
| 4.0.1354 | 78 | 8/30/2026 |
| 4.0.1353 | 76 | 8/30/2026 |
| 4.0.1352 | 69 | 8/30/2026 |
| 4.0.1351 | 79 | 8/29/2026 |
| 4.0.1349 | 77 | 8/29/2026 |
| 4.0.1348 | 77 | 8/29/2026 |
| 4.0.1347 | 82 | 8/26/2026 |
| 4.0.1346 | 83 | 8/26/2026 |
| 4.0.1345 | 95 | 8/25/2026 |
| 4.0.1344 | 89 | 8/22/2026 |
| 4.0.1343 | 102 | 8/18/2026 |
| 4.0.1342 | 99 | 8/12/2026 |
| 4.0.1341 | 98 | 8/12/2026 |
Update dependency Soenneker.Extensions.Configuration.Logging to 4.0.205 (#1716)