mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2.0 KiB
2.0 KiB
Home > puppeteer > Protocol > Log > LogEntry
Protocol.Log.LogEntry interface
Log entry.
Signature:
export interface LogEntry
Properties
| Property | Type | Description |
|---|---|---|
| args | Runtime.RemoteObject[] | Call arguments. |
| level | ('verbose' | 'info' | 'warning' | 'error') | Log entry severity. |
| lineNumber | integer | Line number in the resource. |
| networkRequestId | Network.RequestId | Identifier of the network request associated with this entry. |
| source | ('xml' | 'javascript' | 'network' | 'storage' | 'appcache' | 'rendering' | 'security' | 'deprecation' | 'worker' | 'violation' | 'intervention' | 'recommendation' | 'other') | Log entry source. |
| stackTrace | Runtime.StackTrace | JavaScript stack trace. |
| text | string | Logged text. |
| timestamp | Runtime.Timestamp | Timestamp when this entry was added. |
| url | string | URL of the resource if known. |
| workerId | string | Identifier of the worker associated with this entry. |