THPDFHTMLImporter.OnDiagnostic

Event fired for every diagnostic raised during an import run

property OnDiagnostic: THPDFHTMLDiagnosticEvent read FOnDiagnostic
  write FOnDiagnostic;

The unit is HPDFHTMLImport; the handler receives the same THPDFHTMLDiagnostic record that is appended to Diagnostics

The event keeps firing after the retention list reaches MaxDiagnostics, so live logging stays complete

With StrictCSS enabled the event fires before the EHPDFHTMLUnsupportedCSS exception propagates