IRtfComplianceLogger Interface

An interface for recording RTF compliance violations.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public interface IRtfComplianceLogger

Remarks

Implementations of this interface are intended to capture and record information about RTF compliance issues detected while converting an RTF document. This can be used for diagnostics, auditing, or reporting purposes in systems that process RTF content.

No limit is placed by default on how many issues a single document may produce. When the documents being converted are untrusted, configure a per-violation limit on the 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 RTF compliance violation.

See Also