JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions
0.9.3-preview.1
dotnet add package JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions --version 0.9.3-preview.1
NuGet\Install-Package JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions -Version 0.9.3-preview.1
<PackageReference Include="JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions" Version="0.9.3-preview.1" />
<PackageVersion Include="JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions" Version="0.9.3-preview.1" />
<PackageReference Include="JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions" />
paket add JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions --version 0.9.3-preview.1
#r "nuget: JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions, 0.9.3-preview.1"
#:package JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions@0.9.3-preview.1
#addin nuget:?package=JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions&version=0.9.3-preview.1&prerelease
#tool nuget:?package=JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions&version=0.9.3-preview.1&prerelease
Command Palette extension logging abstractions
This package provides dependency-free diagnostics contracts for Command Palette extension hosts and logging adapters. It does not include concrete sinks or require Microsoft.Extensions.Logging, Serilog, or another application logging framework.
Implement IExtensionHostLogSink to route host diagnostics to the logging system selected by an extension:
using JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions;
public sealed class MyExtensionHostLogSink : IExtensionHostLogSink
{
public void Write(ExtensionHostLogEntry entry)
{
// Map the entry to the application's logging system.
}
}
The main JPSoftworks.CommandPalette.Extensions.Toolkit package provides dependency-free delegate, trace, daily file,
composite, null, and Command Palette sinks. Framework-specific adapters are available separately:
JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.MicrosoftExtensionsJPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Serilog
These contracts are an integration boundary for extension-host diagnostics. Application and core-service projects should continue to use whichever logging abstraction best fits them.
IExtensionHostLoggingBuilder is the small composition contract used by optional adapter packages. Host builders
implement it without depending on a particular logging framework.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions:
| Package | Downloads |
|---|---|
|
JPSoftworks.CommandPalette.Extensions.Toolkit
Opinionated lifecycle, hosting, startup, and diagnostics utilities for Command Palette extensions. |
|
|
JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.MicrosoftExtensions
Bidirectional adapters between Command Palette extension host diagnostics and Microsoft.Extensions.Logging. |
|
|
JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Serilog
Bidirectional adapters between Command Palette extension host diagnostics and Serilog. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.3-preview.1 | 29 | 7/31/2026 |