Skip to main content

LogsClient

adaline.logs is the read-side counterpart to the Monitor write path. It lists recent traces as lightweight metadata and exposes two nested sub-clients for typed search over traces and spans.
The write-side — buffering and flushing traces and spans — lives on the Monitor, Trace, and Span classes, created via adaline.initMonitor(). LogsClient is strictly read / retroactive patch.

Access

The class is also exported directly:

Sub-clients

Types from @adaline/api:

list()

List log traces in a project — lightweight metadata only (no span bodies). Use filters to narrow the window, then pass the cursor to paginate.

Parameters

Returns

Promise<ListLogsResponse> with { data: TraceMetadata[]; pagination: Pagination }. Span bodies are not included — use logs.spans.search or logs.traces.search for richer payloads.

Example


See Also