MintPlayer.Spark.Logging 11.0.1

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

MintPlayer.Spark.Logging

Stored logs for MintPlayer.Spark. What your code logs through any ILogger while a log scope is open is also kept in one Log document per scope, written in one save when the scope closes. It works on any Spark store.

builder.Services.AddSpark(builder.Configuration, spark => spark.AddLogs());

await using (var scope = logScopes.CreateScope("commands/github/123/456", relatedPersistentObjectId: commandId))
{
    scope.Logger.LogInformation("Merging #{Number}", number);   // console, Seq, … and the Log document
    try { … } catch (Exception ex) { scope.Logger.LogError(ex, "Merge failed"); }
}
  • scope.Logger is your application's own ILogger; any logger deeper in the same async flow is captured too.
  • Filter what is stored under Logging:Document:LogLevel, like any provider.
  • A log that belongs to a record (relatedPersistentObjectId) is readable exactly when that record is, in the Logs list and on its own page alike. Nobody may read logs until your security.json grants Read/Log.

See docs/guide-logging.md.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.1 93 11/18/2026
11.0.0 95 11/16/2026