puppeteer/new-docs/puppeteer.protocol.log.violationsetting.md
2020-07-13 14:01:35 +01:00

22 lines
853 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Log](./puppeteer.protocol.log.md) &gt; [ViolationSetting](./puppeteer.protocol.log.violationsetting.md)
## Protocol.Log.ViolationSetting interface
Violation configuration setting.
<b>Signature:</b>
```typescript
export interface ViolationSetting
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [name](./puppeteer.protocol.log.violationsetting.name.md) | ('longTask' \| 'longLayout' \| 'blockedEvent' \| 'blockedParser' \| 'discouragedAPIUse' \| 'handler' \| 'recurringHandler') | Violation type. |
| [threshold](./puppeteer.protocol.log.violationsetting.threshold.md) | number | Time threshold to trigger upon. |