DiagnosticEvent
此内容尚不支持你的语言。
Defined in: diagnostics/events.ts:60
One distinct problem, however many times it happened.
Properties
Section titled “Properties”context?
Section titled “context?”
optionalcontext?: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
Section titled “firstAt”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
Section titled “lastAt”lastAt:
number
Defined in: diagnostics/events.ts:72
message
Section titled “message”message:
string
Defined in: diagnostics/events.ts:64
source?
Section titled “source?”
optionalsource?:string
Defined in: diagnostics/events.ts:66
The engine subsystem or the system’s name, when there is one.
stack?
Section titled “stack?”
optionalstack?:string
Defined in: diagnostics/events.ts:67