---
title: "ConsoleLog: interface in Console, TypeShade API reference"
description: "ConsoleLog, an interface in Console. Where the console buffer is bound and what each entry in it means."
url: https://typeshade.dev/api/consolelog/
language: en
---

# `ConsoleLog`

Interface in Console

Where the console buffer is bound and what each entry in it means.

`import type { ConsoleLog } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
interface ConsoleLog {
  readonly group: number;
  readonly binding: number;
  readonly sites: readonly ConsoleSite[];
}
```

## Description

Plain data, so a worker can post it. `CompileResult.console` under `compile(src, { console: 'gpu' })`.

## Instance properties

**`group` read only `number`**

**`binding` read only `number`**

**`sites` read only `readonly ConsoleSite[]`**

One per recorded call; an entry’s first word is its index here.

## Source

[`src/core/console.ts`, line 145](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/console.ts#L145), at commit af54ddad5
