Cl.Core2g.Addons.LogManager
1.0.2-alpha
This is a prerelease version of Cl.Core2g.Addons.LogManager.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Cl.Core2g.Addons.LogManager --version 1.0.2-alpha
NuGet\Install-Package Cl.Core2g.Addons.LogManager -Version 1.0.2-alpha
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="Cl.Core2g.Addons.LogManager" Version="1.0.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cl.Core2g.Addons.LogManager --version 1.0.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cl.Core2g.Addons.LogManager, 1.0.2-alpha"
#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.
// Install Cl.Core2g.Addons.LogManager as a Cake Addin #addin nuget:?package=Cl.Core2g.Addons.LogManager&version=1.0.2-alpha&prerelease // Install Cl.Core2g.Addons.LogManager as a Cake Tool #tool nuget:?package=Cl.Core2g.Addons.LogManager&version=1.0.2-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LogManager
Ofrece una serie de interfaces para estandarizar y facilitar la escritura de logs en diferentes plataforma y medios externos.
Tabla de contenido
Nugets de clavisco requeridos
Resumen de la versión
- Segunda generación generación de formato de documentación
- Método de extensión para poder registrar LogManager en contenedor de .net core
Instalación
- dotnet add package Cl.Core2g.Addons.LogManager
- dotnet add package Cl.Core2g.Addons.LogManager.Business
¿Cómo lo implemento?
Ubicar el Program.cs de nuestro proyecto web o worker service
Habilitar nuestro método de extensión
using Cl.Core2g.Addons.LogManager;
- Registrar LogManager en el contenedor, posterior a obtener la instancia de WebApplicationBuilde
// Registrar nuestra estrategia de almacenamiento de logs
builder.Services.AddSingleton<ILogStrategy, WebStrategyDisk>();
// Registrar a LogManager
builder.Services.AddWebLogManager();
- A este punto hemos terminado el registro de LogManager, para conocer los destalles de sus características disponibles visite
API de referencia
Cl.Core2g.Addons.LogManager.LogManagerDependencyInjectionExtensions.AddLogManager
Registra la instancia y sus dependicias en el contenedor de dependencias de .net core
Parámetro | Tipo | Descripción | Requerido |
---|---|---|---|
AddLogManager | System.String | Registra la instancia y sus dependicias en el contenedor de dependencias de .net core | Sí |
ClavisCo 2025
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Cl.Core2g.Addons.LogManager.Business (>= 1.0.1-alpha)
- Cl.Core2g.Addons.LogManager.Domain (>= 1.0.3-alpha)
- Microsoft.Extensions.Configuration.Abstractions (>= 7.0.0)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.3)
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.10 | 36 | 1/16/2025 |
1.0.9 | 31 | 1/15/2025 |
1.0.8 | 34 | 1/15/2025 |
1.0.7 | 33 | 1/13/2025 |
1.0.7-alpha | 14 | 1/9/2025 |
1.0.6-alpha | 9 | 1/9/2025 |
1.0.5-alpha | 10 | 1/9/2025 |
1.0.4-alpha | 7 | 1/9/2025 |
1.0.3-alpha | 9 | 1/9/2025 |
1.0.2-alpha | 9 | 1/9/2025 |
1.0.1-alpha | 6 | 1/8/2025 |
1.0.0-alpha | 46 | 1/6/2025 |