Table of Contents

Class LoggingFilter

Namespace
AnyProtocol
Assembly
AnyProtocol.dll

Processes messages in the logging pipeline stage.

public sealed class LoggingFilter : IMessageFilter
Inheritance
LoggingFilter
Implements
Inherited Members

Constructors

LoggingFilter(ILogWriterFactory)

Initializes a new instance of the LoggingFilter class.

public LoggingFilter(ILogWriterFactory loggerFactory)

Parameters

loggerFactory ILogWriterFactory

The logger factory.

Methods

InvokeAsync(IMessageContext, MessageFilterDelegate)

Invokes the configured operation asynchronously.

public ValueTask InvokeAsync(IMessageContext context, MessageFilterDelegate next)

Parameters

context IMessageContext

The context for the current operation.

next MessageFilterDelegate

The next.

Returns

ValueTask

A task that represents the asynchronous operation.