Show / Hide Table of Contents

    Interface IInboundLogger<TCategoryName>

    An ILogger<TCategoryName> with some specific methods to log inbound messages related events.

    Inherited Members
    ISilverbackLogger.InnerLogger
    ISilverbackLogger.IsEnabled(LogEvent)
    Namespace: Silverback.Diagnostics
    Assembly: Silverback.Integration.dll
    Syntax
    public interface IInboundLogger<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 source

    LogAlreadyProcessed(IRawInboundEnvelope)

    Logs the MessageAlreadyProcessed event.

    Declaration
    void LogAlreadyProcessed(IRawInboundEnvelope envelope)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    | Improve this doc View source

    LogCannotMoveSequences(IRawInboundEnvelope, ISequence)

    Logs the CannotMoveSequences event.

    Declaration
    void LogCannotMoveSequences(IRawInboundEnvelope envelope, ISequence sequence)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    ISequence sequence

    The ISequence.

    | Improve this doc View source

    LogInboundLowLevelTrace(string, IRawInboundEnvelope, Exception?, Func<object?[]>?)

    Logs the LowLevelTracing event.

    Declaration
    void LogInboundLowLevelTrace(string message, IRawInboundEnvelope envelope, Exception? exception, Func<object?[]>? argumentsProvider = null)
    Parameters
    Type Name Description
    string message

    The log message format string.

    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    Exception exception

    The Exception to be logged.

    Func<object[]> argumentsProvider

    The Func<TResult> returning the arguments to be used to format the message.

    | Improve this doc View source

    LogInboundLowLevelTrace(string, IRawInboundEnvelope, Func<object?[]>?)

    Logs the LowLevelTracing event.

    Declaration
    void LogInboundLowLevelTrace(string message, IRawInboundEnvelope envelope, Func<object?[]>? argumentsProvider = null)
    Parameters
    Type Name Description
    string message

    The log message format string.

    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    Func<object[]> argumentsProvider

    The Func<TResult> returning the arguments to be used to format the message.

    | Improve this doc View source

    LogInboundTrace(LogEvent, IRawInboundEnvelope, Exception?, Func<object?[]>?)

    Logs the LowLevelTracing event.

    Declaration
    void LogInboundTrace(LogEvent logEvent, IRawInboundEnvelope envelope, Exception? exception, Func<object?[]>? argumentsProvider = null)
    Parameters
    Type Name Description
    LogEvent logEvent

    The LogEvent.

    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    Exception exception

    The Exception to be logged.

    Func<object[]> argumentsProvider

    The Func<TResult> returning the arguments to be used to format the message.

    Remarks

    This method is less performing and therefore only events with Trace level are allowed.

    | Improve this doc View source

    LogInboundTrace(LogEvent, IRawInboundEnvelope, Func<object?[]>?)

    Logs the LowLevelTracing event.

    Declaration
    void LogInboundTrace(LogEvent logEvent, IRawInboundEnvelope envelope, Func<object?[]>? argumentsProvider = null)
    Parameters
    Type Name Description
    LogEvent logEvent

    The LogEvent.

    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    Func<object[]> argumentsProvider

    The Func<TResult> returning the arguments to be used to format the message.

    Remarks

    This method is less performing and therefore only events with Trace level are allowed.

    | Improve this doc View source

    LogMoved(IRawInboundEnvelope, IProducerEndpoint)

    Logs the MessageMoved event.

    Declaration
    void LogMoved(IRawInboundEnvelope envelope, IProducerEndpoint targetEndpoint)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    IProducerEndpoint targetEndpoint

    The target IProducerEndpoint.

    | Improve this doc View source

    LogNullMessageSkipped(IRawInboundEnvelope)

    Logs the NullMessageSkipped event.

    Declaration
    void LogNullMessageSkipped(IRawInboundEnvelope envelope)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    | Improve this doc View source

    LogProcessing(IRawInboundEnvelope)

    Logs the ProcessingInboundMessage event.

    Declaration
    void LogProcessing(IRawInboundEnvelope envelope)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    | Improve this doc View source

    LogProcessingError(IRawInboundEnvelope, Exception)

    Logs the ErrorProcessingInboundMessage event.

    Declaration
    void LogProcessingError(IRawInboundEnvelope envelope, Exception exception)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    Exception exception

    The Exception.

    | Improve this doc View source

    LogProcessingFatalError(IRawInboundEnvelope, Exception)

    Logs the ConsumerFatalError event.

    Declaration
    void LogProcessingFatalError(IRawInboundEnvelope envelope, Exception exception)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    Exception exception

    The Exception.

    | Improve this doc View source

    LogRetryProcessing(IRawInboundEnvelope)

    Logs the RetryMessageProcessing event.

    Declaration
    void LogRetryProcessing(IRawInboundEnvelope envelope)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    | Improve this doc View source

    LogRollbackToRetryFailed(IRawInboundEnvelope, Exception)

    Logs the RollbackToRetryFailed event.

    Declaration
    void LogRollbackToRetryFailed(IRawInboundEnvelope envelope, Exception exception)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    Exception exception

    The Exception.

    | Improve this doc View source

    LogRollbackToSkipFailed(IRawInboundEnvelope, Exception)

    Logs the RollbackToSkipFailed event.

    Declaration
    void LogRollbackToSkipFailed(IRawInboundEnvelope envelope, Exception exception)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    Exception exception

    The Exception.

    | Improve this doc View source

    LogSkipped(IRawInboundEnvelope)

    Logs the MessageSkipped event.

    Declaration
    void LogSkipped(IRawInboundEnvelope envelope)
    Parameters
    Type Name Description
    IRawInboundEnvelope envelope

    The IRawInboundEnvelope.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini