JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions 0.9.3-preview.1

This is a prerelease version of JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions.
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
                    
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="JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions" Version="0.9.3-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions" Version="0.9.3-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions" />
                    
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 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"
                    
#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 JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions@0.9.3-preview.1
                    
#: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=JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions&version=0.9.3-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=JPSoftworks.CommandPalette.Extensions.Toolkit.Logging.Abstractions&version=0.9.3-preview.1&prerelease
                    
Install as a Cake Tool

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.MicrosoftExtensions
  • JPSoftworks.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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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