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
<PackageReference Include="Jakar.Logging.Serilog" Version="10.1.0" />
<PackageVersion Include="Jakar.Logging.Serilog" Version="10.1.0" />
<PackageReference Include="Jakar.Logging.Serilog" />
paket add Jakar.Logging.Serilog --version 10.1.0
#r "nuget: Jakar.Logging.Serilog, 10.1.0"
#:package Jakar.Logging.Serilog@10.1.0
#addin nuget:?package=Jakar.Logging.Serilog&version=10.1.0
#tool nuget:?package=Jakar.Logging.Serilog&version=10.1.0
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 | Versions 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. |
-
net10.0
- Jakar.Extensions (>= 10.12.1)
- Jakar.Logging (>= 10.2.0)
- JetBrains.Annotations (>= 2026.2.0)
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.