Complete log entry with a timestamp and optional stack trace.

interface LogEntry {
    level: "error" | "debug" | "info" | "warn";
    message: LogMessage;
    meta?: any;
    stack?: string;
    timestamp: string;
}

Hierarchy (View Summary)

Properties

level: "error" | "debug" | "info" | "warn"

Log level indicating the severity of the log.

message: LogMessage

The message associated with the log entry.

meta?: any

Optional metadata for the log entry.

stack?: string

Stack trace for "debug" and "error" levels.

timestamp: string

ISO-formatted timestamp when the log was created.