IHtml Compliance Logger Interface
An interface for recording HTML compliance violations.
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#
public interface IHtmlComplianceLoggerRemarks
Implementations of this interface are intended to capture and record information about HTML compliance issues detected while tokenizing an HTML document. This can be used for diagnostics, auditing, or reporting purposes in systems that process HTML content.
No limit is placed by default on how many issues a single document may produce. When the documents being processed are untrusted, configure a per-violation limit on the tokenizer or converter to bound the report. An implementation that retains issues rather than summarizing them should impose its own limit as well, since it cannot assume that every caller configures one.
Methods
| Log | Log an HTML compliance violation. |