Table of Contents

Constructor MailboxMutationTelemetry

Namespace
MailFathom.Infrastructure.Observability
Assembly
MailFathom.Infrastructure.dll

MailboxMutationTelemetry(ILogger<MailboxMutationTelemetry>, TimeProvider)

Initializes the instruments every mailbox mutation reports through.

public MailboxMutationTelemetry(ILogger<MailboxMutationTelemetry> logger, TimeProvider timeProvider)

Parameters

logger ILogger<MailboxMutationTelemetry>

Records what happened, and the debug detail of how.

timeProvider TimeProvider

Measures how long a mutation took.

Exceptions

ArgumentNullException

Thrown when a required collaborator is null.