IHtml Compliance LoggerLog Method
Log an HTML compliance violation.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
void Log(
in HtmlComplianceIssue issue
)Parameters
- issue HtmlComplianceIssue
- The HTML compliance issue that was detected.
Remarks
Logs an HTML compliance violation.
This is called during tokenization, so an implementation that does significant work here will slow tokenization down, and one that throws will abort it. Throwing is the supported way to stop at the first violation.