Kitpymes.Core.Logger 3.0.0

dotnet add package Kitpymes.Core.Logger --version 3.0.0
                    
NuGet\Install-Package Kitpymes.Core.Logger -Version 3.0.0
                    
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="Kitpymes.Core.Logger" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kitpymes.Core.Logger" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Kitpymes.Core.Logger" />
                    
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 Kitpymes.Core.Logger --version 3.0.0
                    
#r "nuget: Kitpymes.Core.Logger, 3.0.0"
                    
#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 Kitpymes.Core.Logger@3.0.0
                    
#: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=Kitpymes.Core.Logger&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Kitpymes.Core.Logger&version=3.0.0
                    
Install as a Cake Tool

Logging sobre ILogger de Microsoft con Serilog y datos sensibles ocultos

Build Status NuGet Status NuGet Download License Size Repo Last Commit

⌨️ Uso

builder.Logging.AddKitpymesLogging(builder.Configuration); // sección LoggerSettings de appsettings.json

public class Servicio(ILogger<Servicio> logger)
{
    public void Hacer(int id) => logger.LogInformation("Pedido {Id}", id);
}

ILogger<T> de Microsoft.Extensions.Logging con Serilog como adaptador (consola, fichero, email, SQL Server). Antes de llegar a los sinks se ocultan (***) los datos con nombre de credencial, lo marcado con [Sensitive], Bearer y las contraseñas en URL, también en el texto del mensaje. Desde la 3.0.0 no depende de Kitpymes.Core.Shared ni de ASP.NET Core. Migración desde la 2.x en las notas de la versión.

📋 Requerimientos

  • Visual Studio 2026 o superior

  • NET TargetFramework = net10.0

  • SDK de .NET = 10.0.x

  • C# = 12

🛠️ Construido con

✒️ Autores

  • Sebastian R Ferrari - Trabajo Inicial - kitpymes

📄 Licencia

  • Este proyecto está bajo la Licencia LICENSE

🎁 Gratitud

  • Este proyecto fue diseñado para compartir, creemos que es la mejor forma de ayudar 📢
  • Cada persona que contribuye será invitada a tomar una 🍺
  • Gracias a todos! 🤓

Kitpymes 😊

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Kitpymes.Core.Logger:

Package Downloads
Kitpymes.Core.Api

Utilidades para APIs ASP.NET Core: sesión, versionado, Swagger y SPA.

GitHub repositories

This package is not used by any popular GitHub repositories.