ILogEntry

Single log entry stored in the log history.

id: string

Unique entry identifier generated via randomString

type: "log" | "debug" | "info" | "warn"

Log level

priority: number

Current Unix timestamp in milliseconds for storage rotate

createdAt: string

Date taken from backtest context to improve user experience

timestamp: number

Unix timestamp in milliseconds taken from backtest context to improve user experience

methodContext: IMethodContext

Optional method context associated with the log entry, providing additional details about the execution environment or state when the log was recorded

executionContext: IExecutionContext

Optional execution context associated with the log entry, providing additional details about the execution environment or state when the log was recorded

topic: string

Log topic / method name

args: unknown[]

Additional arguments passed to the log call