ChemPal Documentation - v1.7.0
    Preparing search index...

    Function formatDiagnostics

    • Formats the complete diagnostics — metadata plus logs — for the review dialog and the clipboard.

      Parameters

      Returns string

      The full report text.

      export function formatDiagnostics(d: Diagnostics): string {
      return `${formatMetadata(d)}\n\n${formatLogs(d)}`;
      }