[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. Signature: ```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. |