Skip to content

LogConsoleProps beta ​

Interface of @v12-engine/client/debug

ts
export interface LogConsoleProps

What the log console is given: the ring it shows, what a line leads to, the levels shown

Members ​

class ​

ts
class?: string;

CSS classes added to the console's element

leadsTo ​

ts
leadsTo?: (entry: LogEntry) => {
        tip: string;
        go: () => void;
    } | undefined;

What a line leads to, when it leads somewhere: words for its tooltip ("Select it") with what a click does. The line is picked either way, and its whole entry shown under the list

levels ​

ts
levels?: LogLevel[];

The levels shown at first: all but debug when left out

openCode ​

ts
openCode?: (file: string, line: number) => void;

Opens a place in the code (a line of a stack): a file of the project and its line. No links without it

ring ​

ts
ring: LogRing;

The entries kept, and told of as they come