VOOZH about

URL: https://www.nuget.org/packages/CasCap.Common.Logging.Serilog/

⇱ NuGet Gallery | CasCap.Common.Logging.Serilog 4.12.1




👁 Image
CasCap.Common.Logging.Serilog 4.12.1

Prefix Reserved
dotnet add package CasCap.Common.Logging.Serilog --version 4.12.1
 
 
NuGet\Install-Package CasCap.Common.Logging.Serilog -Version 4.12.1
 
 
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="CasCap.Common.Logging.Serilog" Version="4.12.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CasCap.Common.Logging.Serilog" Version="4.12.1" />
 
Directory.Packages.props
<PackageReference Include="CasCap.Common.Logging.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 CasCap.Common.Logging.Serilog --version 4.12.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CasCap.Common.Logging.Serilog, 4.12.1"
 
 
#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 CasCap.Common.Logging.Serilog@4.12.1
 
 
#: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=CasCap.Common.Logging.Serilog&version=4.12.1
 
Install as a Cake Addin
#tool nuget:?package=CasCap.Common.Logging.Serilog&version=4.12.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

CasCap.Common.Logging.Serilog

Reusable Serilog configuration with standard enrichers, console sink, and health-check filtering built on top of CasCap.Common.Logging.

Installation

dotnet add package CasCap.Common.Logging.Serilog

Purpose

Provides a bootstrap logger for early startup logging and a composable AddCasCapDefaults extension on LoggerConfiguration that applies the standard CasCap Serilog pipeline: platform-aware console sink, common enrichers, health-check noise filter, and appsettings.json binding.

Target frameworks: net8.0, net9.0, net10.0

Extensions

Extension Description
SerilogExtensions.GetBootstrapLogger() Creates a bootstrap console logger and wires ApplicationLogging.LoggerFactory
SerilogWebApplicationBuilderExtensions.InitializeSerilog(builder, categoryName) Thread-safe one-shot Serilog initialization on a WebApplicationBuilder via UseSerilog + AddCasCapDefaults
LoggerConfiguration.AddCasCapDefaults(IConfiguration) Applies standard enrichers, console sink, health-check filter, and config binding

Enrichers Included

FromLogContext, WithEnvironmentName, WithEnvironmentUserName, WithProcessId, WithThreadId, WithExceptionDetails, WithAssemblyName, WithSpan

Dependencies

NuGet Packages

Package
Serilog
Serilog.Enrichers.AssemblyName
Serilog.Enrichers.Environment
Serilog.Enrichers.Process
Serilog.Enrichers.Span
Serilog.Enrichers.Thread
Serilog.Exceptions
Serilog.Extensions.Hosting
Serilog.Extensions.Logging
Serilog.Settings.Configuration
Serilog.Sinks.Console

Project References

Project Purpose
CasCap.Common.Logging ApplicationLogging static logger factory
Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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 (2)

Showing the top 2 NuGet packages that depend on CasCap.Common.Logging.Serilog:

Package Downloads
CasCap.Common.AI

AI and LLM integration abstractions for OpenAI, Ollama, and Model Context Protocol.

CasCap.Common.OpenTelemetry

Reusable OpenTelemetry configuration with standard metrics, traces, and log exporters.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.12.1 111 6/14/2026
4.12.0 105 6/12/2026
4.11.9 120 6/10/2026
4.11.8 215 5/27/2026
4.11.7 118 5/27/2026
4.11.6 126 5/26/2026
4.11.5 131 5/22/2026
4.11.4 162 5/20/2026
4.11.3 258 5/13/2026
4.11.2 137 5/11/2026
4.11.1 117 5/11/2026
4.11.0 171 5/8/2026
4.10.5 115 5/4/2026
4.10.4 114 5/2/2026
4.10.3 135 4/24/2026
4.10.2 117 4/24/2026
4.10.1 127 4/23/2026
4.10.0 110 4/23/2026
4.9.3 130 4/20/2026
4.9.2 110 4/19/2026
Loading failed