Skip to main content

Function: getLogStreams()

Call Signature

function getLogStreams(projectName: string): Promise<LogStream[]>;
Defined in: src/utils/log-streams.ts Lists all log streams for a project.

Parameters

projectName

string The name of the project.

Returns

Promise<LogStream[]> A promise that resolves to an array of log streams.

Call Signature

function getLogStreams(options: object): Promise<LogStream[]>;
Defined in: src/utils/log-streams.ts Lists all log streams for a project.

Parameters

options

The options for listing log streams.
projectId?
string (Optional) The ID of the project.
projectName?
string (Optional) The name of the project.

Returns

Promise<LogStream[]> A promise that resolves to an array of log streams.