Method Report
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
Report(MailAccountId, MailboxDrainReport)
Records what one pass over an account's source did.
public void Report(MailAccountId account, MailboxDrainReport report)
Parameters
accountMailAccountIdThe account whose source was drained.
reportMailboxDrainReportThe counts the pass produced.
Remarks
A pass that did nothing emits no line and adds nothing, because most passes of a mirrored account have nothing to do and a line per account per interval is noise an operator learns to ignore. The source that cannot be drained at all is the one pass that did nothing and still has to be said: it counts no batch because none was attempted, and without a line the operator sees a switch that stays pending for ever with nothing naming why.