Skip to main content
Microsoft.Extensions.Logging package icon

Microsoft.Extensions.Logging

Logging infrastructure default implementation for Microsoft.Extensions.Logging.

Total Downloads
7.3B
7,266,822,760
Published
Apr 14, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Extensions.Logging --version 11.0.0-preview.3.26207.106
Package Manager Console
Install-Package Microsoft.Extensions.Logging -Version 11.0.0-preview.3.26207.106
PackageReference
<PackageReference Include="Microsoft.Extensions.Logging" Version="11.0.0-preview.3.26207.106" />

Frameworks

.NETFramework4.6.2 net10.0 net11.0 .NETStandard2.0 .NETStandard2.1

Dependencies

[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
System.ValueTuple
.NETFramework4.6.2
[4.6.2, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )
[11.0.0-preview.3.26207.106, )

Adoption guide

Applications that want provider-agnostic logging and straightforward integration with .NET hosts.

Logging guide
Why it appears in the guide: The standard logging abstraction and default implementation used throughout modern .NET hosting. Trade-off: Advanced routing and event shaping are supplied by providers or additional configuration, not the abstraction alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

The published metadata declares 21 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.