Skip to content

@flarelog/sdk


@flarelog/sdk / QueuedLog

Interface: QueuedLog ​

Defined in: types.ts:432

Internal queued log with resolved timestamp (kept for backwards compat).

Extends ​

Properties ​

level ​

level: LogLevel

Defined in: types.ts:22

Log severity level

Inherited from ​

LogEntry.level


message ​

message: string

Defined in: types.ts:24

Log message body

Inherited from ​

LogEntry.message


source? ​

optional source?: string

Defined in: types.ts:26

Source identifier (e.g., function name, route)

Inherited from ​

LogEntry.source


metadata? ​

optional metadata?: Record<string, unknown>

Defined in: types.ts:28

Arbitrary structured metadata

Inherited from ​

LogEntry.metadata


traceId? ​

optional traceId?: string

Defined in: types.ts:30

Trace ID for distributed tracing (W3C, 32 hex chars)

Inherited from ​

LogEntry.traceId


spanId? ​

optional spanId?: string

Defined in: types.ts:32

Span ID for distributed tracing (W3C, 16 hex chars)

Inherited from ​

LogEntry.spanId


timestamp ​

timestamp: string

Defined in: types.ts:433

ISO 8601 timestamp. Defaults to current time if not provided.

Overrides ​

LogEntry.timestamp

Released under the MIT License.