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

x/deno/ext/console/lib.deno_console.d.ts>Console

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Console
import { type Console } from "https://deno.land/x/deno@v1.39.0/ext/console/lib.deno_console.d.ts";

Methods

assert(condition?: boolean, ...data: any[]): void
clear(): void
count(label?: string): void
countReset(label?: string): void
debug(...data: any[]): void
dir(item?: any, options?: any): void
dirxml(...data: any[]): void
error(...data: any[]): void
group(...data: any[]): void
groupCollapsed(...data: any[]): void
groupEnd(): void
info(...data: any[]): void
log(...data: any[]): void
table(tabularData?: any, properties?: string[]): void
time(label?: string): void
timeEnd(label?: string): void
timeLog(label?: string, ...data: any[]): void
trace(...data: any[]): void
warn(...data: any[]): void
timeStamp(label?: string): void

This method is a noop, unless used in inspector

profile(label?: string): void

This method is a noop, unless used in inspector

profileEnd(label?: string): void

This method is a noop, unless used in inspector