LogEntry beta
Interface of @v12-engine/engine
ts
export interface LogEntryOne thing said. Plain data: it crosses a session, a worker and a file as it is
Members
category
ts
category: string;What part said it: server, game, assets, a mod's own
fields
ts
fields?: Record<string, unknown>;What it is about, by name: an entity's id, a player, a file, an error (errorFields)
game
ts
game?: string;The game it was said in, and its tick, where it was said in one
level
ts
level: LogLevel;How much the entry matters
message
ts
message: string;What was said, in words
tick
ts
tick?: number;The tick of the game it was said in, where it was said in a world
time
ts
time: number;When, in milliseconds of the clock (Date.now). Never read by the simulation