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

x/dectyl/runtime/console.ts>DectylConsole

Prototype library for testing Deno Deploy scripts using the Deno CLI
Go to Latest
class DectylConsole
implements Console
import { DectylConsole } from "https://deno.land/x/dectyl@0.6.2/runtime/console.ts";

Constructors

new
DectylConsole(print: (msg: string, error: boolean) => void)

Methods

assert(condition: unknown, ...args: unknown[])
count(label?)
countReset(label?)
debug(...args: unknown[])
dir(obj: unknown, options: Record<string, unknown>)
dirxml(obj: unknown, options: Record<string, unknown>)
error(...args: unknown[])
group(...label: unknown[])
groupCollapsed(...label: unknown[])
info(...args: unknown[])
log(...args: unknown[])
table(data: unknown)
time(label?)
timeEnd(label?)
timeLog(label?, ...args: unknown[])
trace(...args: unknown[])
warn(...args: unknown[])