API Reference > ecschema-editing > Diagnostic > LoggingDiagnosticReporter LoggingDiagnosticReporter Class Beta An IDiagnosticReporter for logging IDiagnostic objects. Extends FormatDiagnosticReporter Methods Name Description constructor(suppressions?: Map<string, string[]>, i18n?: I18N): LoggingDiagnosticReporter Initializes a new FormatDiagnosticReporter reportDiagnostic(diagnostic: AnyDiagnostic, messageText: string): void Handles the given IDiagnostic based on the implementation requirements for a Inherited methods Name Inherited from Description formatStringFromArgs(text: string, args: ArrayLike<string>, baseIndex: number = 0): string Protected FormatDiagnosticReporter Helper method that formats string with provided arguments where the place holders report(diagnostic: AnyDiagnostic): void FormatDiagnosticReporter Prior to reporting the IDiagnostic, the diagnostic message is formatted (with translations) reportInternal(diagnostic: AnyDiagnostic): void FormatDiagnosticReporter Prior to reporting the IDiagnostic, the diagnostic message is formatted (with translations) Inherited properties Name Type Inherited from Description i18N undefined | I18N FormatDiagnosticReporter The I18N object to use for message translation. suppressions Accessor ReadOnly undefined | Map<string, string[]> FormatDiagnosticReporter Gets the collection of ISchemaDiagnosticSuppression objects that identifyrules violations to ignore during validation. Defined in ecschema-editing/src/Validation/LoggingDiagnosticReporter.ts Line 19 Last Updated: 12 June, 2024