API Reference > ecschema-editing > Diagnostic > LoggingDiagnosticReporter > reportDiagnostic reportDiagnostic Method Handles the given IDiagnostic based on the implementation requirements for a given reporter. reportDiagnostic(diagnostic: AnyDiagnostic, messageText: string): void Parameter Type Description diagnostic AnyDiagnostic messageText string Returns - void Defined in ecschema-editing/src/Validation/LoggingDiagnosticReporter.ts Line 20 Last Updated: 11 June, 2024