<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / ILogger

# Interface: ILogger

Logger interface

## Implemented by

- [`ConsoleLogger`](../classes/ConsoleLogger)

## Table of contents

### Methods

- [debug](ILogger#debug)
- [info](ILogger#info)
- [warn](ILogger#warn)
- [error](ILogger#error)
- [isDebugEnabled](ILogger#isdebugenabled)
- [setLevel](ILogger#setlevel)
- [getLevel](ILogger#getlevel)

## Methods

### debug

▸ **debug**(`message`, `context?`): `void`

#### Parameters

| Name       | Type                                    |
| :--------- | :-------------------------------------- |
| `message`  | `string`                                |
| `context?` | [`TLoggerData`](../modules#tloggerdata) |

#### Returns

`void`

#### Defined in

[packages/agents/src/utils/logger.ts:29](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/utils/logger.ts#L29)

---

### info

▸ **info**(`message`, `context?`): `void`

#### Parameters

| Name       | Type                                    |
| :--------- | :-------------------------------------- |
| `message`  | `string`                                |
| `context?` | [`TLoggerData`](../modules#tloggerdata) |

#### Returns

`void`

#### Defined in

[packages/agents/src/utils/logger.ts:30](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/utils/logger.ts#L30)

---

### warn

▸ **warn**(`message`, `context?`): `void`

#### Parameters

| Name       | Type                                    |
| :--------- | :-------------------------------------- |
| `message`  | `string`                                |
| `context?` | [`TLoggerData`](../modules#tloggerdata) |

#### Returns

`void`

#### Defined in

[packages/agents/src/utils/logger.ts:31](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/utils/logger.ts#L31)

---

### error

▸ **error**(`message`, `context?`): `void`

#### Parameters

| Name       | Type                                    |
| :--------- | :-------------------------------------- |
| `message`  | `string`                                |
| `context?` | [`TLoggerData`](../modules#tloggerdata) |

#### Returns

`void`

#### Defined in

[packages/agents/src/utils/logger.ts:32](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/utils/logger.ts#L32)

---

### isDebugEnabled

▸ **isDebugEnabled**(): `boolean`

#### Returns

`boolean`

#### Defined in

[packages/agents/src/utils/logger.ts:33](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/utils/logger.ts#L33)

---

### setLevel

▸ **setLevel**(`level`): `void`

#### Parameters

| Name    | Type                                        |
| :------ | :------------------------------------------ |
| `level` | [`TUtilLogLevel`](../modules#tutilloglevel) |

#### Returns

`void`

#### Defined in

[packages/agents/src/utils/logger.ts:34](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/utils/logger.ts#L34)

---

### getLevel

▸ **getLevel**(): [`TUtilLogLevel`](../modules#tutilloglevel)

#### Returns

[`TUtilLogLevel`](../modules#tutilloglevel)

#### Defined in

[packages/agents/src/utils/logger.ts:35](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/utils/logger.ts#L35)
