Microsoft.Extensions.Logging.AzureAppServices
10.0.0-preview.1.25120.3
Prefix Reserved
dotnet add package Microsoft.Extensions.Logging.AzureAppServices --version 10.0.0-preview.1.25120.3
NuGet\Install-Package Microsoft.Extensions.Logging.AzureAppServices -Version 10.0.0-preview.1.25120.3
<PackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" Version="10.0.0-preview.1.25120.3" />
paket add Microsoft.Extensions.Logging.AzureAppServices --version 10.0.0-preview.1.25120.3
#r "nuget: Microsoft.Extensions.Logging.AzureAppServices, 10.0.0-preview.1.25120.3"
// Install Microsoft.Extensions.Logging.AzureAppServices as a Cake Addin #addin nuget:?package=Microsoft.Extensions.Logging.AzureAppServices&version=10.0.0-preview.1.25120.3&prerelease // Install Microsoft.Extensions.Logging.AzureAppServices as a Cake Tool #tool nuget:?package=Microsoft.Extensions.Logging.AzureAppServices&version=10.0.0-preview.1.25120.3&prerelease
About
Microsoft.Extensions.Logging.AzureAppServices
provides a logger implementation that logs to text files in an Azure App Service app's file system and to blob storage in an Azure Storage account.
Key Features
- Loging messages with the "Diagnostics Logger" and "Log Streaming" features of Azure App Service
- Integration with Azure App Service logging infrastructure
- Seamless integration with other components of
Microsoft.Extensions.Logging
How to Use
To use Microsoft.Extensions.Logging.AzureAppServices
, follow these steps:
Installation
dotnet add package Microsoft.Extensions.Logging.AzureAppServices
Configuration
To configure provider settings, use AzureFileLoggerOptions
and AzureBlobLoggerOptions
, as shown in the following example:
using Microsoft.Extensions.Logging.AzureAppServices;
var builder = WebApplication.CreateBuilder();
builder.Logging.AddAzureWebAppDiagnostics();
builder.Services.Configure<AzureFileLoggerOptions>(options =>
{
options.FileName = "azure-diagnostics-";
options.FileSizeLimit = 50 * 1024;
options.RetainedFileCountLimit = 5;
});
builder.Services.Configure<AzureBlobLoggerOptions>(options =>
{
options.BlobName = "log.txt";
});
Main Types
FileLoggerProvider
: ABatchingLoggerProvider
which writes out to a fileBlobLoggerProvider
: TheILoggerProvider
implementation that stores messages by appending them to Azure Blob in batchesAzureFileLoggerOptions
: Options for configuring Azure diagnostics file loggingAzureBlobLoggerOptions
: Options for configuring Azure diagnostics blob logging
Additional Documentation
For additional documentation and examples, refer to the official documentation on logging with ASP.NEt Core and Azure App Service.
Feedback & Contributing
Microsoft.Extensions.Logging.AzureAppServices
is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Product | Versions 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 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. 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. |
-
.NETFramework 4.6.2
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Configuration.Json (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging.Configuration (>= 10.0.0-preview.1.25080.5)
- System.Net.Http (>= 4.3.4)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Configuration.Json (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging.Configuration (>= 10.0.0-preview.1.25080.5)
- System.ValueTuple (>= 4.5.0)
-
net10.0
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Configuration.Json (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0-preview.1.25080.5)
- Microsoft.Extensions.Logging.Configuration (>= 10.0.0-preview.1.25080.5)
- System.ValueTuple (>= 4.5.0)
NuGet packages (33)
Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Logging.AzureAppServices:
Package | Downloads |
---|---|
Microsoft.AspNetCore.AzureAppServicesIntegration
ASP.NET Core integration with Azure AppServices. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/b225d30209cf027c80b741d04efe1c54f2431b3c |
|
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. |
|
Serilog.Sinks.AzureApp
A Serilog sink that supports Azure App Services 'Diagnostics logs' and 'Log stream' features. |
|
Relay.Web
A web framework built for .NET Core |
|
Amelia
Package Description |
GitHub repositories (14)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Extensions.Logging.AzureAppServices:
Repository | Stars |
---|---|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
|
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
|
|
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 19, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
|
|
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
|
|
EdiWang/Moonglade
Blog system of https://edi.wang, runs on Microsoft Azure
|
Version | Downloads | Last updated | |
---|---|---|---|
10.0.0-preview.1.25120.3 | 206 | 2/25/2025 | |
9.0.2 | 15,040 | 2/11/2025 | |
9.0.1 | 52,897 | 1/14/2025 | |
9.0.0 | 130,445 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 4,012 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 2,291 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 4,053 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 3,070 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 2,290 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 1,295 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 2,593 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 4,224 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 1,504 | 2/13/2024 | |
8.0.13 | 7,670 | 2/11/2025 | |
8.0.12 | 28,282 | 1/14/2025 | |
8.0.11 | 132,402 | 11/12/2024 | |
8.0.10 | 335,989 | 10/8/2024 | |
8.0.8 | 422,946 | 8/13/2024 | |
8.0.7 | 257,361 | 7/9/2024 | |
8.0.6 | 351,214 | 5/28/2024 | |
8.0.5 | 106,897 | 5/14/2024 | |
8.0.4 | 410,483 | 4/9/2024 | |
8.0.3 | 369,092 | 3/12/2024 | |
8.0.2 | 331,644 | 2/13/2024 | |
8.0.1 | 387,318 | 1/9/2024 | |
8.0.0 | 467,557 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 3,368 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 3,477 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 1,562 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 1,237 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 832 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 3,092 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 2,377 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 2,396 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 1,601 | 2/21/2023 | |
7.0.20 | 14,036 | 5/28/2024 | |
7.0.19 | 1,739 | 5/14/2024 | |
7.0.18 | 10,087 | 4/9/2024 | |
7.0.17 | 9,469 | 3/12/2024 | |
7.0.16 | 14,924 | 2/13/2024 | |
7.0.15 | 34,775 | 1/9/2024 | |
7.0.14 | 64,535 | 11/14/2023 | |
7.0.13 | 125,146 | 10/24/2023 | |
7.0.12 | 68,512 | 10/10/2023 | |
7.0.11 | 121,921 | 9/12/2023 | |
7.0.10 | 364,887 | 8/8/2023 | |
7.0.9 | 141,771 | 7/11/2023 | |
7.0.8 | 96,247 | 6/22/2023 | |
7.0.7 | 66,952 | 6/13/2023 | |
7.0.5 | 395,267 | 4/11/2023 | |
7.0.4 | 172,030 | 3/14/2023 | |
7.0.3 | 238,906 | 2/14/2023 | |
7.0.2 | 367,601 | 1/10/2023 | |
7.0.1 | 242,867 | 12/13/2022 | |
7.0.0 | 411,481 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 1,574 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 6,764 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 776 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 1,037 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 937 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 1,209 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 2,442 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 1,113 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 648 | 2/17/2022 | |
6.0.36 | 9,765 | 11/12/2024 | |
6.0.35 | 9,004 | 10/8/2024 | |
6.0.33 | 15,283 | 8/13/2024 | |
6.0.32 | 11,281 | 7/9/2024 | |
6.0.31 | 21,750 | 5/28/2024 | |
6.0.30 | 20,451 | 5/14/2024 | |
6.0.29 | 31,617 | 4/9/2024 | |
6.0.28 | 19,454 | 3/12/2024 | |
6.0.27 | 40,656 | 2/13/2024 | |
6.0.26 | 56,547 | 1/9/2024 | |
6.0.25 | 192,984 | 11/14/2023 | |
6.0.24 | 52,714 | 10/24/2023 | |
6.0.23 | 19,988 | 10/10/2023 | |
6.0.22 | 46,223 | 9/12/2023 | |
6.0.21 | 62,049 | 8/8/2023 | |
6.0.20 | 103,805 | 7/11/2023 | |
6.0.19 | 33,330 | 6/22/2023 | |
6.0.18 | 45,888 | 6/13/2023 | |
6.0.16 | 196,405 | 4/11/2023 | |
6.0.15 | 144,850 | 3/14/2023 | |
6.0.14 | 185,276 | 2/14/2023 | |
6.0.13 | 201,121 | 1/10/2023 | |
6.0.12 | 113,865 | 12/13/2022 | |
6.0.11 | 267,915 | 11/7/2022 | |
6.0.10 | 454,198 | 10/11/2022 | |
6.0.9 | 357,348 | 9/13/2022 | |
6.0.8 | 387,071 | 8/9/2022 | |
6.0.7 | 387,619 | 7/12/2022 | |
6.0.6 | 438,003 | 6/14/2022 | |
6.0.5 | 516,363 | 5/10/2022 | |
6.0.4 | 336,019 | 4/11/2022 | |
6.0.3 | 420,197 | 3/8/2022 | |
6.0.2 | 334,570 | 2/8/2022 | |
6.0.1 | 685,262 | 12/14/2021 | |
6.0.0 | 752,560 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 2,953 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 2,381 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 1,129 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 1,195 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 2,390 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 856 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 4,764 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 3,224 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 2,374 | 2/12/2021 | |
5.0.17 | 57,557 | 5/10/2022 | |
5.0.16 | 14,239 | 4/11/2022 | |
5.0.15 | 33,214 | 3/8/2022 | |
5.0.14 | 25,121 | 2/8/2022 | |
5.0.13 | 58,436 | 12/14/2021 | |
5.0.12 | 54,410 | 11/7/2021 | |
5.0.11 | 160,843 | 10/12/2021 | |
5.0.10 | 243,874 | 9/14/2021 | |
5.0.9 | 233,240 | 8/10/2021 | |
5.0.8 | 184,514 | 7/13/2021 | |
5.0.7 | 261,093 | 6/8/2021 | |
5.0.6 | 176,571 | 5/11/2021 | |
5.0.5 | 250,849 | 4/6/2021 | |
5.0.4 | 143,340 | 3/9/2021 | |
5.0.3 | 190,817 | 2/9/2021 | |
5.0.2 | 344,220 | 1/12/2021 | |
5.0.1 | 137,176 | 12/8/2020 | |
5.0.0 | 186,855 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 2,987 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 3,390 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 1,661 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 1,259 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 1,417 | 6/25/2020 | |
5.0.0-preview.5.20279.2 | 1,405 | 6/10/2020 | |
5.0.0-preview.4.20257.10 | 1,046 | 5/18/2020 | |
5.0.0-preview.3.20215.2 | 1,210 | 4/23/2020 | |
5.0.0-preview.2.20160.3 | 1,471 | 4/2/2020 | |
5.0.0-preview.1.20120.4 | 766 | 3/16/2020 | |
3.1.32 | 34,310 | 12/13/2022 | |
3.1.31 | 11,430 | 11/8/2022 | |
3.1.30 | 20,734 | 10/11/2022 | |
3.1.29 | 8,740 | 9/13/2022 | |
3.1.28 | 11,514 | 8/9/2022 | |
3.1.27 | 15,684 | 7/12/2022 | |
3.1.26 | 16,891 | 6/14/2022 | |
3.1.25 | 19,662 | 5/10/2022 | |
3.1.24 | 24,682 | 4/11/2022 | |
3.1.23 | 32,798 | 3/8/2022 | |
3.1.22 | 64,688 | 12/14/2021 | |
3.1.21 | 229,677 | 11/7/2021 | |
3.1.20 | 41,865 | 10/11/2021 | |
3.1.19 | 46,013 | 9/14/2021 | |
3.1.18 | 63,302 | 8/10/2021 | |
3.1.17 | 49,537 | 7/13/2021 | |
3.1.16 | 84,112 | 6/8/2021 | |
3.1.15 | 140,261 | 5/11/2021 | |
3.1.14 | 118,375 | 4/6/2021 | |
3.1.13 | 112,449 | 3/9/2021 | |
3.1.12 | 194,894 | 2/9/2021 | |
3.1.11 | 1,085,702 | 1/12/2021 | |
3.1.10 | 195,614 | 11/9/2020 | |
3.1.9 | 346,212 | 10/13/2020 | |
3.1.8 | 674,115 | 9/8/2020 | |
3.1.7 | 428,557 | 8/11/2020 | |
3.1.6 | 364,550 | 7/14/2020 | |
3.1.5 | 507,194 | 6/9/2020 | |
3.1.4 | 271,215 | 5/12/2020 | |
3.1.3 | 826,565 | 3/24/2020 | |
3.1.2 | 536,153 | 2/18/2020 | |
3.1.1 | 467,940 | 1/14/2020 | |
3.1.0 | 519,138 | 12/3/2019 | |
3.1.0-preview3.19553.2 | 1,212 | 11/13/2019 | |
3.1.0-preview2.19525.4 | 602 | 11/1/2019 | |
3.1.0-preview1.19506.1 | 1,698 | 10/15/2019 | |
3.0.3 | 18,055 | 2/18/2020 | |
3.0.2 | 642,810 | 1/14/2020 | |
3.0.1 | 75,062 | 11/18/2019 | |
3.0.0 | 329,106 | 9/23/2019 | |
3.0.0-rc1.19456.10 | 6,308 | 9/16/2019 | |
3.0.0-preview9.19423.4 | 1,230 | 9/4/2019 | |
3.0.0-preview8.19405.4 | 28,344 | 8/13/2019 | |
3.0.0-preview7.19362.4 | 2,618 | 7/23/2019 | |
3.0.0-preview6.19304.6 | 1,594 | 6/12/2019 | |
3.0.0-preview5.19227.9 | 1,081 | 5/6/2019 | |
3.0.0-preview4.19216.2 | 719 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 1,069 | 3/6/2019 | |
3.0.0-preview.19074.2 | 831 | 1/29/2019 | |
3.0.0-preview.18572.1 | 1,086 | 12/4/2018 | |
2.2.5 | 3,909,203 | 5/14/2019 | |
2.2.0 | 1,587,738 | 12/3/2018 | |
2.2.0-preview3-35497 | 21,031 | 10/17/2018 | |
2.2.0-preview2-35157 | 6,635 | 9/12/2018 | |
2.2.0-preview1-35029 | 5,392 | 8/22/2018 | |
2.1.1 | 4,169,032 | 6/18/2018 | |
2.1.0 | 1,510,365 | 5/29/2018 | |
2.1.0-rc1-final | 13,877 | 5/6/2018 | |
2.1.0-preview2-final | 13,476 | 4/10/2018 | |
2.1.0-preview1-final | 33,343 | 2/26/2018 | |
2.0.2 | 3,646,158 | 5/7/2018 | |
2.0.1 | 3,367,586 | 3/13/2018 | |
2.0.0 | 9,447,621 | 8/11/2017 | |
2.0.0-preview2-final | 54,776 | 6/28/2017 | |
2.0.0-preview1-final | 6,785 | 5/10/2017 | |
1.0.2 | 152,523 | 5/9/2017 | |
1.0.1 | 49,985 | 3/6/2017 | |
1.0.0 | 47,193 | 11/16/2016 | |
1.0.0-preview1-final | 12,811 | 10/24/2016 |