Namespace Stratara.Shared.Diagnostics.Extensions
Classes
- LoggerBackgroundTasksExtensions
Source-generated structured-logging helpers for background-task / hosted-service lifecycle and per-job execution outcomes. Backed by LoggerMessageAttribute with stable event ids from LogEvents.BackgroundTasks.
- LoggerChangeSetExtensions
Source-generated logger extensions for the projection change-set merge pipeline.
- LoggerCommandExtensions
Source-generated structured-logging helpers for the command-handling worker lifecycle. Backed by LoggerMessageAttribute with stable event ids from LogEvents.CommandProcessing.
- LoggerEventBundleExtensions
Source-generated structured-logging helpers for event-bundle integrity verification. Used by every worker that consumes
EventBundles off the message bus (projection, saga). Backed by LoggerMessageAttribute with stable event ids from LogEvents.EventBundleIntegrity.
- LoggerEventStreamHashingExtensions
Source-generated structured-logging helpers for the event-stream hashing worker lifecycle and failure modes. Backed by LoggerMessageAttribute with stable event ids from LogEvents.EventStreamHashing.
- LoggerMessagingExtensions
Source-generated ILogger extension methods for the Stratara messaging stack (RabbitMQ / Azure Service Bus dispatch and consumption). Event-IDs are defined in
LogEvents.Messaging.
- LoggerOutboxExtensions
Source-generated ILogger extension methods for Stratara.Outbox.RabbitMQ.Outbox.OutboxWorker. Event-IDs are defined in
LogEvents.OutboxProcessing.
- LoggerProjectionExtensions
Source-generated logger extensions for the projection worker, manager, and replay pipeline.
- LoggerSagaExtensions
Source-generated ILogger extensions for the
Stratara.Sagasruntime (saga worker lifecycle, dispatch, errors). Event-IDs are defined inLogEvents.Saga.
- LoggerScopeExtensions
Pre-baked logging-scope helpers for the create/update aggregate flows. Use these so that every log entry inside the scope picks up the aggregate id automatically.
- LoggerUpdateExtensions
Source-generated logger extensions for aggregate update side-effects detected by projections.
Structs
- ChangeSetFieldNames
Deferred-formatting wrapper around an IReadOnlyList<T> for the source-generated
LogChangeSetCreatedlogger extension. The wrapping struct is zero-cost at construction; the join over property names happens only inside ToString(), which the source-generated logger formatter invokes solely when the target log channel is enabled — keeping the hot path allocation-free when Debug logging is disabled.
- DistinctEventTypeNames
Deferred-formatting wrapper around an IReadOnlyList<T> for source-generated logger extensions that surface a distinct, comma-separated list of EventTypeName values. The wrapping struct is zero-cost at construction; the projection + distinct + join only run inside ToString(), which the source-generated logger formatter invokes solely when the target log channel is enabled — keeping the hot path allocation-free when Debug logging is disabled.