ConsoleLog
On this page

ConsoleLog

Interface in Console

Where the console buffer is bound and what each entry in it means.

import type { ConsoleLog } from 'typeshade'

The signature, the description and the examples come from the compiler's own source at commit 26de7be8.

Syntax

interface ConsoleLog {
readonly group: number;
readonly binding: number;
readonly sites: readonly ConsoleSite[];
}

Description

Plain data, so a worker can post it. CompileResult.console under compile(src, { console: 'gpu' }).

Instance properties

groupread only number
bindingread only number
sitesread only readonly ConsoleSite[]

One per recorded call; an entry’s first word is its index here.

Source

src/core/console.ts, line 145, at commit 26de7be8

Edit this page Report a problem