Install
.NET CLI
dotnet add package Microsoft.Extensions.Logging --version 10.0.7
Package Manager Console
Install-Package Microsoft.Extensions.Logging -Version 10.0.7
PackageReference
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.7" />
Frameworks
Dependencies
Microsoft.Bcl.AsyncInterfaces
[10.0.7, )
.NETFramework4.6.2
Microsoft.Extensions.DependencyInjection
[10.0.7, )
.NETFramework4.6.2
Microsoft.Extensions.Logging.Abstractions
[10.0.7, )
.NETFramework4.6.2
Microsoft.Extensions.Options
[10.0.7, )
.NETFramework4.6.2
System.Diagnostics.DiagnosticSource
[10.0.7, )
.NETFramework4.6.2
System.ValueTuple
[4.6.2, )
.NETFramework4.6.2
[10.0.7, )
[10.0.7, )
Microsoft.Extensions.Options
[10.0.7, )
net8.0
[10.0.7, )
[10.0.7, )
Microsoft.Extensions.Options
[10.0.7, )
net9.0
[10.0.7, )
[10.0.7, )
Microsoft.Extensions.Options
[10.0.7, )
net10.0
Microsoft.Bcl.AsyncInterfaces
[10.0.7, )
.NETStandard2.0
Microsoft.Extensions.DependencyInjection
[10.0.7, )
.NETStandard2.0
Microsoft.Extensions.Logging.Abstractions
[10.0.7, )
.NETStandard2.0
Microsoft.Extensions.Options
[10.0.7, )
.NETStandard2.0
System.Diagnostics.DiagnosticSource
[10.0.7, )
.NETStandard2.0
Microsoft.Extensions.DependencyInjection
[10.0.7, )
.NETStandard2.1
Microsoft.Extensions.Logging.Abstractions
[10.0.7, )
.NETStandard2.1
Microsoft.Extensions.Options
[10.0.7, )
.NETStandard2.1
System.Diagnostics.DiagnosticSource
[10.0.7, )
.NETStandard2.1
Adoption guide
Applications that want provider-agnostic logging and straightforward integration with .NET hosts.
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.
Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.
The published metadata declares 24 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.