ConsoleLog
이 페이지에서

ConsoleLog

인터페이스, 콘솔 분류

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

import type { ConsoleLog } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

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

설명

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

인스턴스 속성

group읽기 전용 number
binding읽기 전용 number
sites읽기 전용 readonly ConsoleSite[]

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

소스

src/core/console.ts, 145행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고