Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Log.LogEntry
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
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.

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.