ThisCloud.Framework.Loggings.Serilog 1.0.94

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

ThisCloud.Framework.Loggings.Serilog

Español | English

Español

Implementación Serilog con sinks (Console + File rolling 10MB), enrichment, redaction, runtime control, fail-fast Production.

Instalación

dotnet add package ThisCloud.Framework.Loggings.Serilog

Inicio Rápido

using ThisCloud.Framework.Loggings.Serilog;

var builder = WebApplication.CreateBuilder(args);

builder.Host.UseThisCloudFrameworkSerilog(builder.Configuration, "mi-api");
builder.Services.AddThisCloudFrameworkLoggings(builder.Configuration, "mi-api");

var app = builder.Build();
app.Run();

appsettings.json

{
  "ThisCloud": {
    "Loggings": {
      "MinimumLevel": "Information",
      "Console": { "Enabled": true },
      "File": {
        "Enabled": true,
        "Path": "logs/log-.ndjson",
        "RollingFileSizeMb": 10
      },
      "Redaction": { "Enabled": true }
    }
  }
}

⚠️ Production

{
  "ThisCloud": {
    "Loggings": {
      "MinimumLevel": "Warning",
      "Console": { "Enabled": false },
      "File": { "Path": "/var/log/myapp/log-.ndjson" }
    }
  }
}

Seguridad

  • NO loguear secretos: Authorization, JWT, passwords, API keys
  • NO body logging (prohibido por defecto)
  • Redaction.Enabled=true obligatorio en Production
  • Fail-fast: Config inválida detiene arranque

Documentación Completa

Licencia

ISC License - Sin garantías, sin responsabilidad por pérdidas de datos/brechas de seguridad.
Ver LICENSE completo.


English

Serilog implementation with sinks (Console + File rolling 10MB), enrichment, redaction, runtime control, fail-fast Production.

Install

dotnet add package ThisCloud.Framework.Loggings.Serilog

Quick Start

using ThisCloud.Framework.Loggings.Serilog;

var builder = WebApplication.CreateBuilder(args);

builder.Host.UseThisCloudFrameworkSerilog(builder.Configuration, "my-api");
builder.Services.AddThisCloudFrameworkLoggings(builder.Configuration, "my-api");

var app = builder.Build();
app.Run();

appsettings.json

{
  "ThisCloud": {
    "Loggings": {
      "MinimumLevel": "Information",
      "Console": { "Enabled": true },
      "File": {
        "Enabled": true,
        "Path": "logs/log-.ndjson",
        "RollingFileSizeMb": 10
      },
      "Redaction": { "Enabled": true }
    }
  }
}

⚠️ Production

{
  "ThisCloud": {
    "Loggings": {
      "MinimumLevel": "Warning",
      "Console": { "Enabled": false },
      "File": { "Path": "/var/log/myapp/log-.ndjson" }
    }
  }
}

Security

  • NO logging secrets: Authorization, JWT, passwords, API keys
  • NO body logging (prohibited by default)
  • Redaction.Enabled=true mandatory in Production
  • Fail-fast: Invalid config stops startup

Full Documentation

License

ISC License - No warranties, no liability for data loss/security breaches.
See full LICENSE.


Copyright © 2025 Marco Alejandro De Santis

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

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.94 174 2/21/2026
1.0.92 93 2/14/2026
1.0.91 88 2/14/2026
1.0.86 146 2/14/2026