Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Console.ConsoleMessage
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ConsoleMessage } = Protocol.Console;

Console message.

Properties

source:
| "xml"
| "javascript"
| "network"
| "console-api"
| "storage"
| "appcache"
| "rendering"
| "security"
| "other"
| "deprecation"
| "worker"

Message source. (ConsoleMessageSource enum)

level:
| "log"
| "warning"
| "error"
| "debug"
| "info"

Message severity. (ConsoleMessageLevel enum)

text: string

Message text.

optional
url: string

URL of the message origin.

optional
line: integer

Line number in the resource that generated this message (1-based).

optional
column: integer

Column number in the resource that generated this message (1-based).