IRtfComplianceLoggerLog Method

Log an RTF compliance violation.

Definition

Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
void Log(
	 in RtfComplianceIssue issue
)

Parameters

issue  RtfComplianceIssue
The RTF compliance issue that was detected.

Remarks

Logs an RTF compliance violation.

This is called during conversion, so an implementation that does significant work here will slow conversion down, and one that throws will abort it. Throwing is the supported way to stop converting at the first violation.

See Also