> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# createLogStream

***

# Function: createLogStream()

```ts theme={null}
function createLogStream(
  name: string,
  projectName: string,
): Promise<{
  created_at: string;
  created_by?: null | string;
  has_user_created_sessions?: boolean;
  id: string;
  name: string;
  project_id: string;
  updated_at: string;
}>;
```

Defined in: [src/utils/log-streams.ts](https://github.com/rungalileo/galileo-js/blob/main/src/utils/log-streams.ts)

## Parameters

### name

`string`

### projectName

`string`

## Returns

`Promise`\<\{
`created_at`: `string`;
`created_by?`: `null` | `string`;
`has_user_created_sessions?`: `boolean`;
`id`: `string`;
`name`: `string`;
`project_id`: `string`;
`updated_at`: `string`;
}>
