Microsoft.Extensions.Logging 2.0.0-preview2-final

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

This is a prerelease version of Microsoft.Extensions.Logging.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Extensions.Logging --version 2.0.0-preview2-final
                    
NuGet\Install-Package Microsoft.Extensions.Logging -Version 2.0.0-preview2-final
                    
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="Microsoft.Extensions.Logging" Version="2.0.0-preview2-final" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.Logging" Version="2.0.0-preview2-final" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Logging" />
                    
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 Microsoft.Extensions.Logging --version 2.0.0-preview2-final
                    
#r "nuget: Microsoft.Extensions.Logging, 2.0.0-preview2-final"
                    
#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 Microsoft.Extensions.Logging@2.0.0-preview2-final
                    
#: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=Microsoft.Extensions.Logging&version=2.0.0-preview2-final&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Logging&version=2.0.0-preview2-final&prerelease
                    
Install as a Cake Tool

Logging infrastructure default implementation for Microsoft.Extensions.Logging.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.1 is compatible.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6.8K)

Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Logging:

Package Downloads
Microsoft.EntityFrameworkCore

Entity Framework Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. EF Core works with SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MySQL, PostgreSQL, and other databases through a provider plugin API. Commonly Used Types: Microsoft.EntityFrameworkCore.DbContext Microsoft.EntityFrameworkCore.DbSet

Microsoft.EntityFrameworkCore.Relational

Shared Entity Framework Core components for relational database providers.

Microsoft.Extensions.Http

The HttpClient factory is a pattern for configuring and retrieving named HttpClients in a composable way. The HttpClient factory provides extensibility to plug in DelegatingHandlers that address cross-cutting concerns such as service location, load balancing, and reliability. The default HttpClient factory provides built-in diagnostics and logging and manages the lifetimes of connections in a performant way. Commonly Used Types: System.Net.Http.IHttpClientFactory

Microsoft.Extensions.Logging.Configuration

Configuration support for Microsoft.Extensions.Logging.

Microsoft.Extensions.Logging.Console

Console logger provider implementation for Microsoft.Extensions.Logging.

GitHub repositories (709)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Extensions.Logging:

Repository Stars
microsoft/PowerToys
Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
files-community/Files
A modern file manager that helps users organize their files and folders.
DevToys-app/DevToys
A Swiss Army knife for developers.
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
duplicati/duplicati
Store securely encrypted backups in the cloud!
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
microsoft/garnet
Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 - UI Automation Testing Tools For Genshin Impact
chocolatey/choco
Chocolatey - the package manager for Windows
Version Downloads Last Updated
10.0.0-rc.2.25502.107 102,009 10/14/2025
10.0.0-rc.1.25451.107 237,563 9/9/2025
10.0.0-preview.7.25380.108 82,237 8/12/2025
10.0.0-preview.6.25358.103 85,210 7/15/2025
10.0.0-preview.5.25277.114 117,544 6/6/2025
10.0.0-preview.4.25258.110 80,124 5/12/2025
10.0.0-preview.3.25171.5 101,013 4/10/2025
10.0.0-preview.2.25163.2 73,782 3/18/2025
10.0.0-preview.1.25080.5 158,362 2/25/2025
9.0.10 2,530,869 10/14/2025
9.0.9 9,434,779 9/9/2025
9.0.8 12,176,689 8/4/2025
9.0.7 10,458,348 7/8/2025
9.0.6 12,394,407 6/10/2025
9.0.5 16,392,397 5/13/2025
9.0.4 20,523,619 4/8/2025
9.0.3 16,716,559 3/11/2025
9.0.2 21,742,758 2/11/2025
9.0.1 31,069,493 1/14/2025
9.0.0 109,163,879 11/12/2024
9.0.0-rc.2.24473.5 885,768 10/8/2024
9.0.0-rc.1.24431.7 614,351 9/10/2024
9.0.0-preview.7.24405.7 253,510 8/13/2024
9.0.0-preview.6.24327.7 412,950 7/9/2024
9.0.0-preview.5.24306.7 191,920 6/11/2024
9.0.0-preview.4.24266.19 261,205 5/21/2024
9.0.0-preview.3.24172.9 381,210 4/11/2024
9.0.0-preview.2.24128.5 206,400 3/12/2024
9.0.0-preview.1.24080.9 250,916 2/13/2024
8.0.1 174,106,238 10/8/2024
8.0.0 428,490,565 11/14/2023
8.0.0-rc.2.23479.6 2,493,285 10/10/2023
8.0.0-rc.1.23419.4 1,608,432 9/12/2023
8.0.0-preview.7.23375.6 868,558 8/8/2023
8.0.0-preview.6.23329.7 464,913 7/11/2023
8.0.0-preview.5.23280.8 350,458 6/13/2023
8.0.0-preview.4.23259.5 582,363 5/16/2023
8.0.0-preview.3.23174.8 535,154 4/11/2023
8.0.0-preview.2.23128.3 330,125 3/14/2023
8.0.0-preview.1.23110.8 241,623 2/21/2023
7.0.0 304,569,849 11/7/2022
7.0.0-rc.2.22472.3 474,702 10/11/2022
7.0.0-rc.1.22426.10 408,754 9/14/2022
7.0.0-preview.7.22375.6 374,946 8/9/2022
7.0.0-preview.6.22324.4 198,456 7/12/2022
7.0.0-preview.5.22301.12 162,880 6/14/2022
7.0.0-preview.4.22229.4 403,408 5/10/2022
7.0.0-preview.3.22175.4 178,466 4/13/2022
7.0.0-preview.2.22152.2 222,976 3/14/2022
7.0.0-preview.1.22076.8 118,225 2/17/2022
6.0.1 4,882,038 11/12/2024
6.0.0 680,618,827 11/8/2021
6.0.0-rc.2.21480.5 1,431,188 10/12/2021
6.0.0-rc.1.21451.13 562,300 9/14/2021
6.0.0-preview.7.21377.19 364,894 8/10/2021
6.0.0-preview.6.21352.12 280,403 7/14/2021
6.0.0-preview.5.21301.5 257,691 6/15/2021
6.0.0-preview.4.21253.7 130,483 5/24/2021
6.0.0-preview.3.21201.4 590,075 4/8/2021
6.0.0-preview.2.21154.6 200,527 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21102.12 232,989 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained.
5.0.0 550,612,978 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 666,558 10/13/2020 5.0.0-rc.2.20475.5 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.14 537,280 9/14/2020 5.0.0-rc.1.20451.14 is deprecated because it is no longer maintained.
5.0.0-preview.8.20407.11 522,078 8/25/2020 5.0.0-preview.8.20407.11 is deprecated because it is no longer maintained.
5.0.0-preview.7.20364.11 224,476 7/21/2020 5.0.0-preview.7.20364.11 is deprecated because it is no longer maintained.
5.0.0-preview.6.20305.6 93,002 6/25/2020 5.0.0-preview.6.20305.6 is deprecated because it is no longer maintained.
5.0.0-preview.5.20278.1 57,429 6/10/2020 5.0.0-preview.5.20278.1 is deprecated because it is no longer maintained.
5.0.0-preview.4.20251.6 222,881 5/18/2020 5.0.0-preview.4.20251.6 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.2 212,135 4/23/2020 5.0.0-preview.3.20215.2 is deprecated because it is no longer maintained.
5.0.0-preview.2.20160.3 231,098 4/2/2020 5.0.0-preview.2.20160.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20120.4 83,948 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 19,489,416 12/13/2022
3.1.31 3,295,287 11/8/2022
3.1.30 2,767,715 10/11/2022
3.1.29 2,794,516 9/13/2022
3.1.28 3,063,784 8/9/2022
3.1.27 2,277,331 7/12/2022
3.1.26 1,907,481 6/14/2022
3.1.25 2,942,392 5/10/2022
3.1.24 1,942,424 4/11/2022
3.1.23 3,524,003 3/8/2022
3.1.22 19,747,979 12/14/2021
3.1.21 7,428,659 11/7/2021
3.1.20 4,629,545 10/11/2021
3.1.19 5,227,958 9/14/2021
3.1.18 50,007,298 8/10/2021
3.1.17 6,456,826 7/13/2021
3.1.16 10,669,855 6/8/2021
3.1.15 7,698,842 5/11/2021
3.1.14 10,411,140 4/6/2021
3.1.13 13,419,984 3/9/2021
3.1.12 11,075,920 2/9/2021
3.1.11 13,131,450 1/12/2021
3.1.10 21,858,551 11/9/2020
3.1.9 77,546,869 10/13/2020
3.1.8 67,177,842 9/8/2020
3.1.7 35,599,088 8/11/2020
3.1.6 39,361,152 7/14/2020
3.1.5 37,921,039 6/9/2020
3.1.4 47,033,093 5/12/2020
3.1.3 120,958,155 3/24/2020
3.1.2 77,594,940 2/18/2020
3.1.1 41,432,797 1/14/2020
3.1.0 205,547,422 12/3/2019
3.1.0-preview3.19553.2 232,414 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 74,589 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 1,236,953 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 92,802,332 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 1,137,520 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 4,821,389 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 93,014,171 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 87,468 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 1,526,571 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 597,550 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 165,989 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 322,393 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 822,835 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 49,461 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 341,957 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 173,013 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 153,058 12/4/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 268,761,171 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 395,104 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 268,179 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 146,539 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 494,925,252 6/18/2018
2.1.0 379,875,879 5/29/2018
2.1.0-rc1-final 613,389 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 562,975 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 641,052 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.2 29,103,434 5/7/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 45,473,929 3/13/2018 2.0.1 is deprecated because it is no longer maintained.
2.0.0 372,572,443 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 408,747 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,167,768 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.2 17,409,096 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 31,365,776 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 18,465,778 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 177,834 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.2 81,428,820 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 4,861,317 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 29,171,222 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 1,831,046 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 653,557 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.