Jakar.Logging
10.1.0
See the version list below for details.
dotnet add package Jakar.Logging --version 10.1.0
NuGet\Install-Package Jakar.Logging -Version 10.1.0
<PackageReference Include="Jakar.Logging" Version="10.1.0" />
<PackageVersion Include="Jakar.Logging" Version="10.1.0" />
<PackageReference Include="Jakar.Logging" />
paket add Jakar.Logging --version 10.1.0
#r "nuget: Jakar.Logging, 10.1.0"
#:package Jakar.Logging@10.1.0
#addin nuget:?package=Jakar.Logging&version=10.1.0
#tool nuget:?package=Jakar.Logging&version=10.1.0
Jakar.Logging
Serilog and Microsoft.Extensions.Logging support: app logger options, a file logger, OpenTelemetry activity enrichment and Serilog properties for the Jakar.Extensions models.
dotnet add package Jakar.Logging
Split out of Jakar.Extensions in 10.12.0. It depends on Jakar.Extensions and Jakar.Files. The types keep the Jakar.Extensions namespace, so code that used them from Jakar.Extensions only needs this package reference (and a recompile).
What's in it
AppLoggerOptions: Serilog configuration for an app (sinks, paths, screenshots, enrichers).FileLoggerProvider(andFileLoggerProviderOptions,ScopeProvider,NullScope): a rolling-fileILoggerProvider.OpenTelemetryActivityEnricher/IOpenTelemetryActivityEnricher: adds the currentActivity(trace, span, parent, tags, baggage) to log events.Enricher: Serilog property helpers;LogEventPropertiesaddsGetProperty()/ToProperty()toAppInformation,ThreadInformation,GcInfoandDeviceInformation;DeviceInformationEnricherenriches events with a device.ScreenShot: attaches a screenshot reference to log events.
SelfLogger stays in Jakar.Extensions.
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 package. |
Jakar.Logging.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 and push 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.0)
- Jakar.Files (>= 10.1.0)
- JetBrains.Annotations (>= 2026.2.0)
- Serilog (>= 4.4.0)
- Serilog.Formatting.Compact (>= 3.0.0)
- Serilog.Sinks.Async (>= 2.1.0)
- Serilog.Sinks.Console (>= 6.1.1)
- Serilog.Sinks.Debug (>= 3.0.0)
- Serilog.Sinks.File (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Jakar.Logging:
| Package | Downloads |
|---|---|
|
Jakar.Logging.Serilog
Jakar.Extensions integration for Jakar.Logging: Serilog properties for AppInformation, ThreadInformation, GcInfo and DeviceInformation, and app/device enrichment from a TelemetrySource. |
GitHub repositories
This package is not used by any popular GitHub repositories.
10.1.0: initial release. Split out of Jakar.Extensions 10.12.0; the types keep the Jakar.Extensions namespace.