Class LogComponent

Assembly: redb.Route.dll

Log component. Scheme: "log".
Logs the exchange body and headers to .
URI: log://category?level=Information&showHeaders=true&showBody=true

[EndpointRole(EndpointRole.Producer, Hint = "Use it as a To() destination.")]
public class LogComponent : ComponentBase, IComponent, IAsyncDisposable

Inheritance

Object→ComponentBase→LogComponent

Implements

Inherited Members

Properties

Scheme

The URI scheme this component handles (e.g., "kafka", "rabbitmq").

public override string Scheme { get; }

Methods

CreateEndpoint(EndpointUri)

Creates an endpoint from a parsed URI.

public override IEndpoint CreateEndpoint(EndpointUri uri)

Constructors

LogComponent(ILoggerFactory?)

Creates a log component with an optional logger factory.