Individual captured log entry.

interface LogEntry {
    id: string;
    level: LogLevel;
    message: string;
    details: string[];
    timestamp: string;
    source?: string;
    isDebug?: boolean;
}

Properties

id: string

Unique identifier for the log entry.

level: LogLevel

Log severity level based on the originating console method.

message: string

Primary message extracted from the first argument.

details: string[]

Additional details derived from remaining console arguments.

timestamp: string

ISO timestamp representing when the log entry was captured.

source?: string

Optional stack trace snippet to help identify the source of the log.

isDebug?: boolean

Whether the entry is considered a debug-only message.