# Interface: Logger

## Properties

### debug

• **debug**: (`message`: `string`, ...`args`: `unknown`[]) => `void`

#### Type declaration[[debug.type-declaration]]

▸ (`message`, `...args`): `void`

##### Parameters[[debug.parameters]]

| Name | Type |
| :------ | :------ |
| `message` | `string` |
| `...args` | `unknown`[] |

##### Returns[[debug.returns]]

`void`

#### Defined in[[debug.defined-in]]

[inference/src/types.ts:9](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L9)

___

### error

• **error**: (`message`: `string`, ...`args`: `unknown`[]) => `void`

#### Type declaration[[error.type-declaration]]

▸ (`message`, `...args`): `void`

##### Parameters[[error.parameters]]

| Name | Type |
| :------ | :------ |
| `message` | `string` |
| `...args` | `unknown`[] |

##### Returns[[error.returns]]

`void`

#### Defined in[[error.defined-in]]

[inference/src/types.ts:12](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L12)

___

### info

• **info**: (`message`: `string`, ...`args`: `unknown`[]) => `void`

#### Type declaration[[info.type-declaration]]

▸ (`message`, `...args`): `void`

##### Parameters[[info.parameters]]

| Name | Type |
| :------ | :------ |
| `message` | `string` |
| `...args` | `unknown`[] |

##### Returns[[info.returns]]

`void`

#### Defined in[[info.defined-in]]

[inference/src/types.ts:10](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L10)

___

### log

• **log**: (`message`: `string`, ...`args`: `unknown`[]) => `void`

#### Type declaration[[log.type-declaration]]

▸ (`message`, `...args`): `void`

##### Parameters[[log.parameters]]

| Name | Type |
| :------ | :------ |
| `message` | `string` |
| `...args` | `unknown`[] |

##### Returns[[log.returns]]

`void`

#### Defined in[[log.defined-in]]

[inference/src/types.ts:13](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L13)

___

### warn

• **warn**: (`message`: `string`, ...`args`: `unknown`[]) => `void`

#### Type declaration[[warn.type-declaration]]

▸ (`message`, `...args`): `void`

##### Parameters[[warn.parameters]]

| Name | Type |
| :------ | :------ |
| `message` | `string` |
| `...args` | `unknown`[] |

##### Returns[[warn.returns]]

`void`

#### Defined in[[warn.defined-in]]

[inference/src/types.ts:11](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L11)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/inference/interfaces/Logger.md" />