Soenneker.Extensions.LoggerConfiguration.ApplicationInsights 4.0.1352

Prefix Reserved
There is a newer version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Extensions.LoggerConfiguration.ApplicationInsights" Version="4.0.1352" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.LoggerConfiguration.ApplicationInsights" Version="4.0.1352" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Extensions.LoggerConfiguration.ApplicationInsights" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Extensions.LoggerConfiguration.ApplicationInsights --version 4.0.1352
                    
#r "nuget: Soenneker.Extensions.LoggerConfiguration.ApplicationInsights, 4.0.1352"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Extensions.LoggerConfiguration.ApplicationInsights@4.0.1352
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Extensions.LoggerConfiguration.ApplicationInsights&version=4.0.1352
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Extensions.LoggerConfiguration.ApplicationInsights&version=4.0.1352
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1375 0 9/13/2026
4.0.1374 0 9/13/2026
4.0.1373 38 9/12/2026
4.0.1372 38 9/12/2026
4.0.1371 38 9/12/2026
4.0.1370 51 9/12/2026
4.0.1369 79 9/9/2026
4.0.1368 74 9/9/2026
4.0.1367 73 9/8/2026
4.0.1366 76 9/8/2026
4.0.1365 85 9/8/2026
4.0.1364 91 9/7/2026
4.0.1363 99 9/5/2026
4.0.1362 89 9/4/2026
4.0.1361 104 9/1/2026
4.0.1360 96 8/31/2026
4.0.1359 90 8/31/2026
4.0.1358 99 8/31/2026
4.0.1357 99 8/30/2026
4.0.1352 84 8/30/2026
Loading failed

Update dependency Soenneker.Extensions.Configuration.Logging to 4.0.205 (#1716)