<!--
 ⚠️  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
-->

[openai](../../) / [Exports](../modules) / IPayloadLoggerOptions

# Interface: IPayloadLoggerOptions

Configuration options for payload loggers

## Table of contents

### Properties

- [enabled](IPayloadLoggerOptions#enabled)
- [includeTimestamp](IPayloadLoggerOptions#includetimestamp)
- [logger](IPayloadLoggerOptions#logger)

## Properties

### enabled

• `Optional` **enabled**: `boolean`

Whether logging is enabled

**`Default Value`**

```ts
true;
```

#### Defined in

[openai/src/interfaces/payload-logger.ts:35](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/openai/src/interfaces/payload-logger.ts#L35)

---

### includeTimestamp

• `Optional` **includeTimestamp**: `boolean`

Include timestamp in log entries

**`Default Value`**

```ts
true;
```

#### Defined in

[openai/src/interfaces/payload-logger.ts:41](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/openai/src/interfaces/payload-logger.ts#L41)

---

### logger

• `Optional` **logger**: `AbstractLogger`

Logger instance for console output

**`Default Value`**

```ts
DefaultConsoleLogger;
```

#### Defined in

[openai/src/interfaces/payload-logger.ts:47](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/openai/src/interfaces/payload-logger.ts#L47)
