Class LoggerAzureServiceBusExtensions
- Namespace
- Stratara.Outbox.AzureServiceBus.Diagnostics.Extensions
- Assembly
- Stratara.Outbox.AzureServiceBus.dll
Source-generated logger extensions used by the Azure Service Bus message-bus implementation.
public static class LoggerAzureServiceBusExtensions
- Inheritance
-
LoggerAzureServiceBusExtensions
- Inherited Members
Methods
LogConcurrencyConflictRequeued(ILogger, Guid, string)
Logs that a handler threw ConcurrencyException and the bus is abandoning the message for redelivery.
[LoggerMessage(EventId = 108105, Level = LogLevel.Warning, Message = "Concurrency conflict on stream {StreamId} ({AggregateTypeName}) — abandoning for redelivery")]
public static void LogConcurrencyConflictRequeued(this ILogger logger, Guid streamId, string aggregateTypeName)
Parameters
loggerILoggerThe logger.
streamIdGuidThe aggregate stream id involved in the conflict.
aggregateTypeNamestringThe CLR type name of the aggregate.
LogMessageProcessingFailed(ILogger, string, Exception)
Logs that a message handler threw and the bus is dead-lettering the message.
[LoggerMessage(EventId = 108101, Level = LogLevel.Error, Message = "Error processing message from topic {Topic}")]
public static void LogMessageProcessingFailed(this ILogger logger, string topic, Exception exception)