method DiagnosticsCollector.prototype.clear DiagnosticsCollector.prototype.clear(): void Clears all collected events Return Type void