Jakar.Logging.Serilog 10.1.0

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

Jakar.Logging.Serilog

Jakar.Extensions integration for Jakar.Logging: Serilog properties for AppInformation, ThreadInformation, GcInfo and DeviceInformation, and app/device enrichment from a TelemetrySource.

dotnet add package Jakar.Logging.Serilog

It depends on Jakar.Extensions and Jakar.Logging; the types are in the Jakar.Extensions namespace.

What's in it

Jakar.Logging has no dependency on Jakar.Extensions. This package adds the Jakar.Extensions side:

Type What it does
LogEventProperties Serilog properties for AppInformation, ThreadInformation, GcInfo / GcMemoryInformation / GcGenerationInformation and DeviceInformation (GetProperty() / ToProperty()), plus GetProperty(AppVersion, name).
DeviceInformationEnricher device.ToEnricher(): the device's properties on every event, read when each event is enriched.
TelemetrySourceEnricher The app (TelemetrySource.Info) and device properties on every event.
OpenTelemetryActivityEnricher Jakar.Logging's ActivityEnricher plus TelemetrySourceEnricher (what Jakar.Logging 10.1.0's enricher did).
AppLoggerOptions.CreateLogger(TelemetrySource, DeviceInformation?), AppLoggerOptions.Info Extension members on Jakar.Logging's AppLoggerOptions.

Migrating from Jakar.Logging 10.1.0

Add this package next to Jakar.Logging 10.2.0. new OpenTelemetryActivityEnricher(loggerOptions, source) and loggerOptions.CreateLogger(source) keep compiling; the device now comes from the optional device argument (and the source) instead of AppLoggerOptions.DeviceInfo.

Versioning

Versions are <.NET major>.<library major>.<library minor>: a breaking change bumps the middle number (10.1.0 → 10.2.0), anything else the last one.

Repository

Path What it is
Jakar.Logging/ The Jakar.Logging package (Serilog only).
Jakar.Logging.Tests/ NUnit tests.
Jakar.Logging.Serilog/ The Jakar.Logging.Serilog package: the Jakar.Extensions integration (see its README).
Jakar.Logging.Serilog.Tests/ NUnit tests.
.github/workflows/ci.yml Build and test on Ubuntu and Windows, for every push and pull request.
.github/workflows/publish.yml On master: CI, then pack both packages and push them to nuget.org (Trusted Publishing).
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
10.1.0 80 11/16/2026

10.1.0: initial release.