Skip to content

@flarelog/sdk


@flarelog/sdk / QueuedLog

Interface: QueuedLog

Defined in: types.ts:299

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

Extends

Properties

level

level: LogLevel

Defined in: types.ts:20

Log severity level

Inherited from

LogEntry.level


message

message: string

Defined in: types.ts:22

Log message body

Inherited from

LogEntry.message


source?

optional source?: string

Defined in: types.ts:24

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

Inherited from

LogEntry.source


metadata?

optional metadata?: Record<string, unknown>

Defined in: types.ts:26

Arbitrary structured metadata

Inherited from

LogEntry.metadata


traceId?

optional traceId?: string

Defined in: types.ts:28

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

Inherited from

LogEntry.traceId


spanId?

optional spanId?: string

Defined in: types.ts:30

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

Inherited from

LogEntry.spanId


timestamp

timestamp: string

Defined in: types.ts:300

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

Overrides

LogEntry.timestamp

Released under the MIT License.