---
jsApi: true
title: "[F] logDiagnostics"

---
```ts
logDiagnostics(diagnostics, logger): void
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `diagnostics` | readonly [`Diagnostic`](../interfaces/Diagnostic.md)[] |
| `logger` | [`LogSink`](../interfaces/LogSink.md) |

## Returns

`void`
