Compze.Internals.Logging.Serilog 0.6.0-alpha

Prefix Reserved
This is a prerelease version of Compze.Internals.Logging.Serilog.
dotnet add package Compze.Internals.Logging.Serilog --version 0.6.0-alpha
                    
NuGet\Install-Package Compze.Internals.Logging.Serilog -Version 0.6.0-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="Compze.Internals.Logging.Serilog" Version="0.6.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.Internals.Logging.Serilog" Version="0.6.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.Internals.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 Compze.Internals.Logging.Serilog --version 0.6.0-alpha
                    
#r "nuget: Compze.Internals.Logging.Serilog, 0.6.0-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.
#:package Compze.Internals.Logging.Serilog@0.6.0-alpha
                    
#: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=Compze.Internals.Logging.Serilog&version=0.6.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.Internals.Logging.Serilog&version=0.6.0-alpha&prerelease
                    
Install as a Cake Tool

Compze.Internals.Logging.Serilog

Serilog logging integration for the Compze framework.

What is Compze?

Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more

What's in this package?

This package provides a Serilog adapter for Compze's logging abstractions:

  • Log backend — SerilogLogBackend, which writes Compze's log lines to Serilog as structured events
  • Preconfigured sinks — Console and Seq sinks included
  • Environment enrichment — Automatic enrichment with machine name and environment details
  • Compact JSON formatting — Structured logging with compact JSON output

Installation

dotnet add package Compze.Internals.Logging.Serilog

Usage

Choose it as the process's logging backend. Compze's loggers look the backend up for each line they write, and the backend looks up Serilog's static Log.Logger for each line, so neither assignment has to come before anything else:

Log.Logger = new LoggerConfiguration().WriteTo.Console().CreateLogger();
CompzeLogger.Backend = SerilogLogBackend.Global;

To write to a Serilog logger of your own instead of Log.Logger, use SerilogLogBackend.WritingTo(serilogLogger).

Package Description
Compze.Internals.Logging The logging abstractions this package is a backend for

License

Apache-2.0

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
0.6.0-alpha 295 11/14/2026
0.5.0-alpha 121 11/10/2026
0.4.1-alpha 125 7/24/2026
0.4.0-alpha 110 7/8/2026
0.3.2-alpha 105 6/11/2026
0.3.1-alpha 106 6/8/2026
0.3.0-alpha 106 6/8/2026
0.2.0-alpha 92 6/4/2026

- **Targets .NET 11 (`net11.0`) instead of .NET 10, and is compiled with runtime async:** the runtime, instead of state machines the compiler generates, suspends and resumes its async methods, so live stack traces show the real call chain. An application that uses this version must target .NET 11.
- **Requires newer minor versions of other Compze packages:** Compze.DependencyInjection 0.9.0-alpha (was 0.8.0-alpha), Compze.Internals.Logging 0.7.0-alpha (was 0.5.0-alpha), Compze.Internals.SystemCE 0.8.0-internal (was 0.4.1-internal), Compze.Threading 0.12.0-alpha (was 0.9.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.