Interface IOutboundLogger<TCategoryName>
An ISilverbackLogger<TCategoryName> with some specific methods to log outbound messages related events.
Namespace: Silverback.Diagnostics
Assembly: Silverback.Integration.dll
Syntax
public interface IOutboundLogger<out TCategoryName> : ISilverbackLogger<TCategoryName>, ISilverbackLogger
Type Parameters
Name | Description |
---|---|
TCategoryName | The type who's name is used for the logger category name. |
Methods
| Improve this doc View sourceLogErrorProducingOutboxStoredMessage(IOutboundEnvelope, Exception)
Logs the ErrorProducingOutboxStoredMessage event.
Declaration
void LogErrorProducingOutboxStoredMessage(IOutboundEnvelope envelope, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
IOutboundEnvelope | envelope | The IOutboundEnvelope. |
Exception | exception | The Exception. |
LogProduceError(IProducerEndpoint, string, IReadOnlyCollection<MessageHeader>?, Exception)
Logs the ErrorProducingMessage event.
Declaration
void LogProduceError(IProducerEndpoint endpoint, string actualEndpointName, IReadOnlyCollection<MessageHeader>? headers, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
IProducerEndpoint | endpoint | The IProducerEndpoint. |
string | actualEndpointName | The name of the actual target endpoint. |
IReadOnlyCollection<MessageHeader> | headers | The message headers. |
Exception | exception | The Exception. |
LogProduceError(IOutboundEnvelope, Exception)
Logs the ErrorProducingMessage event.
Declaration
void LogProduceError(IOutboundEnvelope envelope, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
IOutboundEnvelope | envelope | The IOutboundEnvelope. |
Exception | exception | The Exception. |
LogProduced(IProducerEndpoint, string, IReadOnlyCollection<MessageHeader>?, IBrokerMessageIdentifier?)
Logs the MessageProduced event.
Declaration
void LogProduced(IProducerEndpoint endpoint, string actualEndpointName, IReadOnlyCollection<MessageHeader>? headers, IBrokerMessageIdentifier? brokerMessageIdentifier)
Parameters
Type | Name | Description |
---|---|---|
IProducerEndpoint | endpoint | The IProducerEndpoint. |
string | actualEndpointName | The name of the actual target endpoint. |
IReadOnlyCollection<MessageHeader> | headers | The message headers. |
IBrokerMessageIdentifier | brokerMessageIdentifier |
LogProduced(IOutboundEnvelope)
Logs the MessageProduced event.
Declaration
void LogProduced(IOutboundEnvelope envelope)
Parameters
Type | Name | Description |
---|---|---|
IOutboundEnvelope | envelope | The IOutboundEnvelope. |
LogWrittenToOutbox(IOutboundEnvelope)
Logs the MessageWrittenToOutbox event.
Declaration
void LogWrittenToOutbox(IOutboundEnvelope envelope)
Parameters
Type | Name | Description |
---|---|---|
IOutboundEnvelope | envelope | The IOutboundEnvelope. |