22 lines
853 B
Markdown
22 lines
853 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Log](./puppeteer.protocol.log.md) > [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. |
|
|
|