Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.Log.LogEntry

Headless Chrome Deno API
Latest
interface Protocol.Log.LogEntry
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { LogEntry } = Protocol.Log;

Log entry.

Properties

source:
| "xml"
| "javascript"
| "network"
| "storage"
| "appcache"
| "rendering"
| "security"
| "deprecation"
| "worker"
| "violation"
| "intervention"
| "recommendation"
| "other"

Log entry source. (LogEntrySource enum)

level:
| "verbose"
| "info"
| "warning"
| "error"

Log entry severity. (LogEntryLevel enum)

text: string

Logged text.

Timestamp when this entry was added.

optional
url: string

URL of the resource if known.

optional
lineNumber: integer

Line number in the resource.

optional
stackTrace: Runtime.StackTrace

JavaScript stack trace.

optional
networkRequestId: Network.RequestId

Identifier of the network request associated with this entry.

optional
workerId: string

Identifier of the worker associated with this entry.

optional
args: Runtime.RemoteObject[]

Call arguments.