Skip to content

LogFilter beta ​

Interface of @v12-engine/client

ts
export interface LogFilter

What a console shows: the levels that are on, one part or all, and words found in a line's message, part or fields

Members ​

category ​

ts
category?: string;

The part that said it: every part when left out

levels ​

ts
levels: ReadonlySet<LogLevel>;

The levels shown: an entry of another level is left out

source ​

ts
source?: string | null;

Where it was said: in a game, by its id (LogEntry.game), or null for the page's own (the editor, the client); every source when left out

words ​

ts
words?: string;

The words to find in the message, category or fields, all of them, in any case; every row when left out