Skip to main content

Function: createLogStream()

Call Signature

function createLogStream(name: string, projectName: string): Promise<LogStream>;
Defined in: src/utils/log-streams.ts Creates a new log stream.

Parameters

name

string The name of the log stream.

projectName

string The name of the project.

Returns

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

Call Signature

function createLogStream(name: string, options?: object): Promise<LogStream>;
Defined in: src/utils/log-streams.ts Creates a new log stream.

Parameters

name

string The name of the log stream.

options?

(Optional) The options for creating 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 created log stream.