2022-10-21 13:52:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Configuration.logLevel
|
|
|
|
---
|
|
|
|
|
|
|
|
# Configuration.logLevel property
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
Tells Puppeteer to log at the given level.
|
|
|
|
|
|
|
|
At the moment, any option silences logging.
|
|
|
|
|
|
|
|
#### Signature:
|
2022-10-21 13:52:43 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface Configuration {
|
|
|
|
logLevel?: 'silent' | 'error' | 'warn';
|
|
|
|
}
|
|
|
|
```
|
2022-10-24 14:31:12 +00:00
|
|
|
|
|
|
|
#### Default value:
|
|
|
|
|
|
|
|
`undefined`
|