Debug event with a generated unique identifier.

Extends DebugEventRecord with an id and ensures timestamp is always present.

export interface DebugEventEntry extends DebugEventRecord {
id: string;
timestamp: string;
}
interface DebugEventEntry {
    type: string;
    message: string;
    level?: DebugEventLevel;
    source?: string;
    context?: string;
    metadata?: Record<string, unknown>;
    tags?: string[];
    id: string;
    timestamp: string;
}

Hierarchy (View Summary)

Properties

type: string

Event type identifier.

message: string

Event message.

Severity level.

source?: string

Source component or module.

context?: string

Additional contextual information.

metadata?: Record<string, unknown>

Key-value metadata for the event.

tags?: string[]

Array of tags for categorization.

id: string
timestamp: string

ISO timestamp of the event.