EditorLogValue =Defined in: modules/editor/src/protocol.ts:143 A logged value as a JSON tree: a snapshot limited in depth and size, which an editor can show expanded.string|number|boolean|null| {type:"undefined"; } | {text:string;type:"number"; } | {text:string;type:"bigint"|"symbol"|"function"|"date"; } | {message:string;name:string;stack?:string;type:"error"; } | {entries: readonly (readonly [string,EditorLogValue])[];more?:number;name?:string;type:"object"; } | {items: readonlyEditorLogValue[];length:number;more?:number;name?:string;type:"array"; } | {entries: readonly (readonly [EditorLogValue,EditorLogValue])[];more?:number;size:number;type:"map"; } | {type:"circular"; } | {text:string;type:"cut"; }
Union Members
string
number
boolean
null
Type Literal
{type: "undefined"; }
Type Literal
{text: string; type: "number"; }
Numbers JSON cannot carry: NaN, Infinity, -Infinity, -0.
Type Literal
{text: string; type: "bigint" | "symbol" | "function" | "date"; }
Type Literal
{message: string; name: string; stack?: string; type: "error"; }
Type Literal
{entries: readonly (readonly [string, EditorLogValue])[]; more?: number; name?: string; type: "object"; }
entries
readonlyentries: readonly (readonly [string,EditorLogValue])[]
more?
Entries left out.readonlyoptionalmore?:number
name?
Constructor name, for instances of classes.readonlyoptionalname?:string
type
readonlytype:"object"
Type Literal
{items: readonly EditorLogValue[]; length: number; more?: number; name?: string; type: "array"; }
items
readonlyitems: readonlyEditorLogValue[]
length
readonlylength:number
more?
readonlyoptionalmore?:number
name?
readonlyoptionalname?:string
Set, Float32Array… for array-likes that are not arrays.
type
readonlytype:"array"
Type Literal
{entries: readonly (readonly [EditorLogValue, EditorLogValue])[]; more?: number; size: number; type: "map"; }
Type Literal
{type: "circular"; }
A value already shown higher in the tree.
Type Literal
{text: string; type: "cut"; }
A value deeper than the limit: only its summary is kept.