Skip to main content

Function: getLogStream()

Call Signature

function getLogStream(options: object): Promise<LogStream>;
Defined in: src/utils/log-streams.ts Retrieves a log stream by ID or name.

Parameters

options

The options for retrieving a log stream.
id?
string (Optional) The ID of the log stream.
name?
string (Optional) The name of the log stream.
projectName
string The name of the project.

Returns

Promise<LogStream> A promise that resolves to the log stream.

Call Signature

function getLogStream(options: object): Promise<LogStream>;
Defined in: src/utils/log-streams.ts Retrieves a log stream by ID or name.

Parameters

options

The options for retrieving a log stream.
id?
string (Optional) The ID of the log stream.
name?
string (Optional) The name of the log stream.
projectId?
string (Optional) The ID of the project.
projectName?
string (Optional) The name of the project.

Returns

Promise<LogStream> A promise that resolves to the log stream.