跳转到内容

DiagnosticEvent

此内容尚不支持你的语言。

Defined in: diagnostics/events.ts:60

One distinct problem, however many times it happened.

optional context?: Record<string, unknown>

Defined in: diagnostics/events.ts:76

Whatever the reporter attached. The engine never puts anything identifying here, and neither should a game — see the file header of Diagnostics.ts.


count: number

Defined in: diagnostics/events.ts:69

How many times this exact problem has occurred since it was first seen.


firstAt: number

Defined in: diagnostics/events.ts:71

Epoch ms of the first and most recent occurrence.


id: string

Defined in: diagnostics/events.ts:63

Stable identity across repeats — see fingerprint.


kind: DiagnosticKind

Defined in: diagnostics/events.ts:61


lastAt: number

Defined in: diagnostics/events.ts:72


message: string

Defined in: diagnostics/events.ts:64


optional source?: string

Defined in: diagnostics/events.ts:66

The engine subsystem or the system’s name, when there is one.


optional stack?: string

Defined in: diagnostics/events.ts:67