![]() |
VOOZH | about |
dotnet add package mostlylucid.ephemeral.logging --version 2.3.2
NuGet\Install-Package mostlylucid.ephemeral.logging -Version 2.3.2
<PackageReference Include="mostlylucid.ephemeral.logging" Version="2.3.2" />
<PackageVersion Include="mostlylucid.ephemeral.logging" Version="2.3.2" />Directory.Packages.props
<PackageReference Include="mostlylucid.ephemeral.logging" />Project file
paket add mostlylucid.ephemeral.logging --version 2.3.2
#r "nuget: mostlylucid.ephemeral.logging, 2.3.2"
#:package mostlylucid.ephemeral.logging@2.3.2
#addin nuget:?package=mostlylucid.ephemeral.logging&version=2.3.2Install as a Cake Addin
#tool nuget:?package=mostlylucid.ephemeral.logging&version=2.3.2Install as a Cake Tool
Provides adapters between Microsoft.Extensions.Logging and the signal world.
SignalLoggerProvider converts ILogger events into slugged signals such as
log.error.orders.dbfailure, carrying typed payloads with EventId, category, level, exception metadata, and
captured scope properties so you can target specific errors by EventId.Id, EventId.Name, or exception type.SignalToLoggerAdapter mirrors signals back into ILogger with inferred severity, payload, and
message formatting so signals appear in standard telemetry sinks.SignalLogHookOptions.MapSignal/MapPayload let you control the emitted signal name or
payload structure if you prefer different prefixes or labels.var sink = new SignalSink();
var typedSink = new TypedSignalSink<SignalLogPayload>(sink);
using var loggerFactory = LoggerFactory.Create(builder =>
{
builder.AddConsole();
builder.AddProvider(new SignalLoggerProvider(typedSink, new SignalLogHookOptions
{
MinimumLevel = LogLevel.Warning,
MapSignal = ctx => $"alert.{ctx.EventId.Name ?? ctx.EventId.Id}"
}));
});
The typed payload gives you the EventId, exception type/message, and any captured scope values, so attribute jobs or
signal watchers can use those labels to drive downstream logic.
SignalLoggerProvider to your ILoggerFactory (with a shared SignalSink or
TypedSignalSink<SignalLogPayload>). The provider emits slugged log.{level}.{category}.{event} signals populated
with typed payloads so attribute jobs, caches, or other listeners can react to logging events like any other signal.SignalToLoggerAdapter into your signal sink to mirror signals back into ILogger with
inferred log level, messages, and event ids.Both directions keep the SignalSink/SignalEvent plumbing centralized while packaging the logging surface separately.
var sink = new SignalSink();
var typedSink = new TypedSignalSink<SignalLogPayload>(sink);
using var loggerFactory = LoggerFactory.Create(builder =>
{
builder.AddConsole();
builder.AddProvider(new SignalLoggerProvider(typedSink));
});
using var watcher = new EphemeralSignalJobRunner(sink, new[] { new LogWatcherJobs(sink) });
var logger = loggerFactory.CreateLogger("orders");
logger.LogError(new EventId(1001, "DbFailure"), "Order store failed");
The LogWatcherJobs class (see mostlylucid.ephemeral.attributes) can then listen for log.error.* signals, raise
downstream escalation signals, and keep observability and remediation co-located with your signal-driven workflows. Use
SignalToLoggerAdapter when you want the resulting signal activity to re-appear in the standard logging pipeline as
well.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on mostlylucid.ephemeral.logging:
| Package | Downloads |
|---|---|
|
mostlylucid.ephemeral.complete
Meta-package that references all Mostlylucid.Ephemeral packages - bounded async execution with signals, atoms, and patterns. Install this single package to get everything. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.3.2 | 130 | 1/9/2026 |
| 2.3.1 | 131 | 1/9/2026 |
| 2.3.1-alpha0 | 122 | 1/9/2026 |
| 2.3.0 | 1,206 | 1/8/2026 |
| 2.3.0-alpha1 | 126 | 1/8/2026 |
| 2.1.0 | 135 | 1/8/2026 |
| 2.1.0-preview | 126 | 1/8/2026 |
| 2.0.1 | 132 | 1/8/2026 |
| 2.0.0 | 454 | 1/8/2026 |
| 2.0.0-alpha1 | 120 | 1/8/2026 |
| 1.7.1 | 448 | 12/11/2025 |
| 1.6.8 | 460 | 12/9/2025 |
| 1.6.7 | 450 | 12/9/2025 |
| 1.6.6 | 453 | 12/9/2025 |
| 1.6.5 | 458 | 12/9/2025 |
| 1.6.0 | 442 | 12/8/2025 |
| 1.5.0 | 444 | 12/8/2025 |
| 1.3.0 | 326 | 12/7/2025 |
| 1.2.2 | 318 | 12/7/2025 |