Cloud.Extensions.Logging
1.0.0
dotnet add package Cloud.Extensions.Logging --version 1.0.0
NuGet\Install-Package Cloud.Extensions.Logging -Version 1.0.0
<PackageReference Include="Cloud.Extensions.Logging" Version="1.0.0" />
paket add Cloud.Extensions.Logging --version 1.0.0
#r "nuget: Cloud.Extensions.Logging, 1.0.0"
// Install Cloud.Extensions.Logging as a Cake Addin #addin nuget:?package=Cloud.Extensions.Logging&version=1.0.0 // Install Cloud.Extensions.Logging as a Cake Tool #tool nuget:?package=Cloud.Extensions.Logging&version=1.0.0
This Nuget Package is for logging and place in our local folder as in text files on today date. Install-Package Cloud.Extensions.Logging -Version 1.0.0
//// AddFile method is the extension method of Microsoft logger..This method only to handle all logs and place into the folder.
public static IWebHostBuilder CreateWebHostBuilder(string[] args) ⇒ WebHost.CreateDefaultBuilder(args) .UseContentRoot(Directory.GetCurrentDirectory()) .ConfigureLogging((context, builder) ⇒ { builder.AddFile(opts ⇒ { context.Configuration.GetSection("FileLoggingOptions").Bind(opts); }); }) .UseIISIntegration() .UseStartup<Startup>(); //////////////////////////////// ////FileLoggingOptions in appsettings.json file Please keep the below code to capture all logs ////////////////////////// "FileLoggingOptions": { "FileName": "app-logs-", "FileSizeLimit": 1048576 }, ///////////////////
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. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.1
- Microsoft.Extensions.Logging (>= 2.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 932 | 8/11/2019 |