Skip to main content
Microsoft.Extensions.Logging package icon

Microsoft.Extensions.Logging

Logging infrastructure default implementation for Microsoft.Extensions.Logging. This package was built from the source at: https://github.com/aspnet/Logging/tree/f6c988d6a421e2fc6a927204de563e64a24fa1f6

Total Downloads
7.5B
7,467,411,111
Published
Sep 12, 2018
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Extensions.Logging --version 2.2.0-preview2-35157
Package Manager Console
Install-Package Microsoft.Extensions.Logging -Version 2.2.0-preview2-35157
PackageReference
<PackageReference Include="Microsoft.Extensions.Logging" Version="2.2.0-preview2-35157" />

Frameworks

.NETStandard2.0

Dependencies

[2.2.0-preview2-35157, )
[2.2.0-preview2-35157, )
[2.2.0-preview2-35157, )
[2.2.0-preview2-35157, )

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.

NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

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.