Skip to main content
Module

x/uuid/lib/lib.deno_runtime.d.ts>consoleTypes.Console

Deprecated! UUID is part of the deno standard library
Latest
class consoleTypes.Console
import { consoleTypes } from "https://deno.land/x/uuid@v0.1.2/lib/lib.deno_runtime.d.ts";
const { Console } = consoleTypes;

Properties

private
printFunc
assert: (condition?: boolean, ...args: unknown[]) => void

Writes an error message to stdout if the assertion is false. If the assertion is true, nothing happens.

ref: https://console.spec.whatwg.org/#assert

clear: () => void
collapsedAt: number | null
count: (label?: string) => void
countReset: (label?: string) => void
debug: (...args: unknown[]) => void

Writes the arguments to stdout

dir: (obj: unknown, options?: Partial<{ showHidden: boolean; depth: number; colors: boolean; indentLevel: number; collapsedAt: number | null; }>) => void

Writes the properties of the supplied obj to stdout

error: (...args: unknown[]) => void

Writes the arguments to stdout

group: (...label: unknown[]) => void
groupCollapsed: (...label: unknown[]) => void
groupEnd: () => void
indentLevel: number
info: (...args: unknown[]) => void

Writes the arguments to stdout

log: (...args: unknown[]) => void

Writes the arguments to stdout

table: (data: unknown, properties?: string[] | undefined) => void
time: (label?: string) => void
timeEnd: (label?: string) => void
timeLog: (label?: string, ...args: unknown[]) => void
warn: (...args: unknown[]) => void

Writes the arguments to stdout

[isConsoleInstance]: boolean