Skip to main content
Go to Latest
interface default.Log.LogEntry
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { LogEntry } = default.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.

optional
category: ("cors")

(LogEntryCategory enum)

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.