Skip to content

LogEntry

Defined in: src/components/feedback/LogView/LogView.types.ts:41

A single log line.

id is optional but recommended for stable virtualization keys; when omitted LogView assigns a stable monotonic sequence id on insert. level defaults to 'info'.

Properties

id?

optional id: string

Defined in: src/components/feedback/LogView/LogView.types.ts:43

Stable identity used as the React/virtualization key. Auto-assigned when omitted.


level?

optional level: LogLevel

Defined in: src/components/feedback/LogView/LogView.types.ts:45

Severity.

Default

"info"

message

message: string

Defined in: src/components/feedback/LogView/LogView.types.ts:47

The log message text.


meta?

optional meta: Record<string, unknown>

Defined in: src/components/feedback/LogView/LogView.types.ts:53

Arbitrary structured payload. Not rendered by default; available to renderEntry.


source?

optional source: string

Defined in: src/components/feedback/LogView/LogView.types.ts:51

Optional source / category tag (e.g. a subsystem name). Included in text search.


timestamp?

optional timestamp: number | Date

Defined in: src/components/feedback/LogView/LogView.types.ts:49

Optional timestamp (epoch ms or Date). Rendered when showTimestamps is on.