Microsoft.Extensions.Logging 3.1.22

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Extensions.Logging --version 3.1.22
                    
NuGet\Install-Package Microsoft.Extensions.Logging -Version 3.1.22
                    
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="3.1.22" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.Logging" Version="3.1.22" />
                    
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 3.1.22
                    
#r "nuget: Microsoft.Extensions.Logging, 3.1.22"
                    
#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@3.1.22
                    
#: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=3.1.22
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Logging&version=3.1.22
                    
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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework 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 tizen40 was computed.  tizen60 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 (7.1K)

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.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.EntityFrameworkCore.Relational

Shared Entity Framework Core components for relational database providers.

Microsoft.Extensions.Logging.Console

Console logger provider implementation for Microsoft.Extensions.Logging.

GitHub repositories (649)

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.
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
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.
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.
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+.
duplicati/duplicati
Store securely encrypted backups in the cloud!
Sonarr/Sonarr
Smart PVR for newsgroup and bittorrent users.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
babalae/better-genshin-impact
📦BetterGI · 更好的原神 - 自动拾取 | 自动剧情 | 全自动钓鱼(AI) | 全自动七圣召唤 | 自动伐木 | 自动刷本 | 自动采集/挖矿/锄地 | 一条龙 | 全连音游 - UI Automation Testing Tools For Genshin Impact
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.
chocolatey/choco
Chocolatey - the package manager for Windows
Version Downloads Last Updated
10.0.2 807,929 1/13/2026
10.0.1 4,759,133 12/9/2025
10.0.0 11,813,100 11/11/2025
10.0.0-rc.2.25502.107 439,894 10/14/2025
10.0.0-rc.1.25451.107 387,815 9/9/2025
10.0.0-preview.7.25380.108 108,114 8/12/2025
10.0.0-preview.6.25358.103 116,455 7/15/2025
10.0.0-preview.5.25277.114 142,901 6/6/2025
10.0.0-preview.4.25258.110 107,773 5/12/2025
10.0.0-preview.3.25171.5 126,120 4/10/2025
10.0.0-preview.2.25163.2 89,224 3/18/2025
10.0.0-preview.1.25080.5 204,052 2/25/2025
9.0.12 208,876 1/13/2026
9.0.11 4,974,020 11/11/2025
9.0.10 13,582,771 10/14/2025
9.0.9 18,117,251 9/9/2025
9.0.8 18,647,605 8/4/2025
9.0.7 14,817,312 7/8/2025
9.0.6 16,659,508 6/10/2025
9.0.5 21,838,996 5/13/2025
9.0.4 26,076,775 4/8/2025
9.0.3 20,722,785 3/11/2025
9.0.2 26,697,576 2/11/2025
9.0.1 40,797,134 1/14/2025
9.0.0 147,676,917 11/12/2024
9.0.0-rc.2.24473.5 1,002,102 10/8/2024
9.0.0-rc.1.24431.7 687,198 9/10/2024
9.0.0-preview.7.24405.7 293,264 8/13/2024
9.0.0-preview.6.24327.7 468,158 7/9/2024
9.0.0-preview.5.24306.7 202,411 6/11/2024
9.0.0-preview.4.24266.19 298,408 5/21/2024
9.0.0-preview.3.24172.9 402,121 4/11/2024
9.0.0-preview.2.24128.5 215,608 3/12/2024
9.0.0-preview.1.24080.9 267,016 2/13/2024
8.0.1 225,814,214 10/8/2024
8.0.0 490,914,678 11/14/2023
8.0.0-rc.2.23479.6 2,653,028 10/10/2023
8.0.0-rc.1.23419.4 1,731,927 9/12/2023
8.0.0-preview.7.23375.6 934,379 8/8/2023
8.0.0-preview.6.23329.7 487,330 7/11/2023
8.0.0-preview.5.23280.8 364,337 6/13/2023
8.0.0-preview.4.23259.5 592,563 5/16/2023
8.0.0-preview.3.23174.8 586,727 4/11/2023
8.0.0-preview.2.23128.3 335,040 3/14/2023
8.0.0-preview.1.23110.8 244,530 2/21/2023
7.0.0 321,040,553 11/7/2022
7.0.0-rc.2.22472.3 483,493 10/11/2022
7.0.0-rc.1.22426.10 418,163 9/14/2022
7.0.0-preview.7.22375.6 393,508 8/9/2022
7.0.0-preview.6.22324.4 202,430 7/12/2022
7.0.0-preview.5.22301.12 165,068 6/14/2022
7.0.0-preview.4.22229.4 415,933 5/10/2022
7.0.0-preview.3.22175.4 181,151 4/13/2022
7.0.0-preview.2.22152.2 224,398 3/14/2022
7.0.0-preview.1.22076.8 119,695 2/17/2022
6.0.1 6,247,748 11/12/2024
6.0.0 724,195,581 11/8/2021
6.0.0-rc.2.21480.5 1,444,709 10/12/2021
6.0.0-rc.1.21451.13 567,262 9/14/2021
6.0.0-preview.7.21377.19 366,605 8/10/2021
6.0.0-preview.6.21352.12 282,639 7/14/2021
6.0.0-preview.5.21301.5 261,019 6/15/2021
6.0.0-preview.4.21253.7 131,010 5/24/2021
6.0.0-preview.3.21201.4 596,458 4/8/2021
6.0.0-preview.2.21154.6 201,136 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 234,659 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained.
5.0.0 572,197,828 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 673,846 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 540,504 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 531,183 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 225,262 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 94,577 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,706 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 223,267 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,842 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,951 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 84,476 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 21,709,226 12/13/2022
3.1.31 3,730,352 11/8/2022
3.1.30 2,963,500 10/11/2022
3.1.29 3,090,787 9/13/2022
3.1.28 3,296,042 8/9/2022
3.1.27 2,533,338 7/12/2022
3.1.26 2,048,835 6/14/2022
3.1.25 3,162,540 5/10/2022
3.1.24 2,137,605 4/11/2022
3.1.23 3,700,785 3/8/2022
3.1.22 20,875,654 12/14/2021
3.1.21 7,698,188 11/7/2021
3.1.20 4,952,932 10/11/2021
3.1.19 5,421,554 9/14/2021
3.1.18 51,745,955 8/10/2021
3.1.17 6,735,266 7/13/2021
3.1.16 11,015,926 6/8/2021
3.1.15 7,986,445 5/11/2021
3.1.14 10,718,241 4/6/2021
3.1.13 13,804,937 3/9/2021
3.1.12 11,362,210 2/9/2021
3.1.11 13,550,691 1/12/2021
3.1.10 22,333,572 11/9/2020
3.1.9 79,457,127 10/13/2020
3.1.8 68,879,235 9/8/2020
3.1.7 37,048,406 8/11/2020
3.1.6 40,166,097 7/14/2020
3.1.5 38,589,873 6/9/2020
3.1.4 49,276,758 5/12/2020
3.1.3 125,868,795 3/24/2020
3.1.2 79,285,585 2/18/2020
3.1.1 42,140,106 1/14/2020
3.1.0 218,692,876 12/3/2019
3.1.0-preview3.19553.2 233,318 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 74,997 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 1,254,240 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 98,371,239 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 1,203,407 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 4,978,358 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 94,712,473 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 87,871 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 1,532,379 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 602,545 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 169,149 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 323,915 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 825,859 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 49,675 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 343,304 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 174,140 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 153,701 12/4/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 276,929,695 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 399,600 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 271,467 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 146,866 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 531,650,861 6/18/2018
2.1.0 397,403,315 5/29/2018
2.1.0-rc1-final 625,459 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 571,324 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 645,922 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.2 30,212,683 5/7/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 46,219,294 3/13/2018 2.0.1 is deprecated because it is no longer maintained.
2.0.0 386,513,720 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 424,592 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,175,699 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.2 17,861,000 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 31,975,538 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 19,229,334 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 178,147 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.2 82,135,542 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 5,037,420 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 30,263,752 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 1,832,610 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 655,270 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.