Skip to content

Interface: LogQuery

@termwright/test


@termwright/test / LogQuery

Defined in: test/src/logs.ts:20

Which entries an operation applies to. Every field narrows further.

readonly optional label?: string

Defined in: test/src/logs.ts:26


readonly optional level?: "trace" | "debug" | "info" | "warn" | "error" | "fatal" | readonly ("trace" | "debug" | "info" | "warn" | "error" | "fatal")[]

Defined in: test/src/logs.ts:22

One level or a set of them.


readonly optional logger?: string

Defined in: test/src/logs.ts:27


readonly optional message?: string | RegExp

Defined in: test/src/logs.ts:29

Substring, or a pattern, of the message (or of a file line).


readonly optional minLevel?: "trace" | "debug" | "info" | "warn" | "error" | "fatal"

Defined in: test/src/logs.ts:24

This level or more severe.


readonly optional sessionId?: string

Defined in: test/src/logs.ts:30


readonly optional source?: "file" | "adapter"

Defined in: test/src/logs.ts:25