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
loggerILogger<MailboxMutationTelemetry>Records what happened, and the debug detail of how.
timeProviderTimeProviderMeasures how long a mutation took.
Exceptions
- ArgumentNullException
Thrown when a required collaborator is null.