Class LogProducer

Assembly: redb.Route.dll

Log producer. Logs the exchange body and/or headers.

public class LogProducer : IProducer, IProcessor

Inheritance

Object→LogProducer

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Start(CancellationToken)

Starts the producer.

public Task Start(CancellationToken ct = default)

Stop(CancellationToken)

Stops the producer.

public Task Stop(CancellationToken ct = default)

Constructors

LogProducer(LogEndpoint)

Creates a log producer.