<!--
 ⚠️  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) / LoggingPluginOptions

# Interface: LoggingPluginOptions

Configuration options for logging plugin

## Hierarchy

- [`IPluginOptions`](IPluginOptions)

  ↳ **`LoggingPluginOptions`**

## Table of contents

### Properties

- [enabled](LoggingPluginOptions#enabled)
- [category](LoggingPluginOptions#category)
- [priority](LoggingPluginOptions#priority)
- [moduleEvents](LoggingPluginOptions#moduleevents)
- [subscribeToAllModuleEvents](LoggingPluginOptions#subscribetoallmoduleevents)
- [strategy](LoggingPluginOptions#strategy)
- [level](LoggingPluginOptions#level)
- [filePath](LoggingPluginOptions#filepath)
- [remoteEndpoint](LoggingPluginOptions#remoteendpoint)
- [remoteHeaders](LoggingPluginOptions#remoteheaders)
- [maxLogs](LoggingPluginOptions#maxlogs)
- [includeStackTrace](LoggingPluginOptions#includestacktrace)
- [formatter](LoggingPluginOptions#formatter)
- [logger](LoggingPluginOptions#logger)
- [batchSize](LoggingPluginOptions#batchsize)
- [flushInterval](LoggingPluginOptions#flushinterval)

## Properties

### enabled

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

Whether the plugin is enabled

#### Inherited from

[IPluginOptions](IPluginOptions).[enabled](IPluginOptions#enabled)

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:126](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L126)

---

### category

• `Optional` **category**: [`PluginCategory`](../enums/PluginCategory)

Plugin category for classification

#### Inherited from

[IPluginOptions](IPluginOptions).[category](IPluginOptions#category)

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:128](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L128)

---

### priority

• `Optional` **priority**: `number`

Plugin priority for execution order

#### Inherited from

[IPluginOptions](IPluginOptions).[priority](IPluginOptions#priority)

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:130](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L130)

---

### moduleEvents

• `Optional` **moduleEvents**: [`EventType`](../modules#eventtype)[]

Events to subscribe to from modules

#### Inherited from

[IPluginOptions](IPluginOptions).[moduleEvents](IPluginOptions#moduleevents)

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:132](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L132)

---

### subscribeToAllModuleEvents

• `Optional` **subscribeToAllModuleEvents**: `boolean`

Whether to subscribe to all module events

#### Inherited from

[IPluginOptions](IPluginOptions).[subscribeToAllModuleEvents](IPluginOptions#subscribetoallmoduleevents)

#### Defined in

[packages/agents/src/abstracts/abstract-plugin.ts:134](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/abstracts/abstract-plugin.ts#L134)

---

### strategy

• **strategy**: [`LoggingStrategy`](../modules#loggingstrategy)

Logging strategy to use

#### Defined in

[packages/agents/src/plugins/logging/types.ts:37](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L37)

---

### level

• `Optional` **level**: [`LogLevel`](../modules#loglevel)

Minimum log level to capture

#### Defined in

[packages/agents/src/plugins/logging/types.ts:39](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L39)

---

### filePath

• `Optional` **filePath**: `string`

File path for file strategy

#### Defined in

[packages/agents/src/plugins/logging/types.ts:41](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L41)

---

### remoteEndpoint

• `Optional` **remoteEndpoint**: `string`

Remote endpoint for remote strategy

#### Defined in

[packages/agents/src/plugins/logging/types.ts:43](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L43)

---

### remoteHeaders

• `Optional` **remoteHeaders**: `Record`\<`string`, `string`\>

Headers for remote logging

#### Defined in

[packages/agents/src/plugins/logging/types.ts:45](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L45)

---

### maxLogs

• `Optional` **maxLogs**: `number`

Maximum number of logs to keep in memory

#### Defined in

[packages/agents/src/plugins/logging/types.ts:47](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L47)

---

### includeStackTrace

• `Optional` **includeStackTrace**: `boolean`

Whether to include stack traces in error logs

#### Defined in

[packages/agents/src/plugins/logging/types.ts:49](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L49)

---

### formatter

• `Optional` **formatter**: [`LogFormatter`](LogFormatter)

Custom log formatter

#### Defined in

[packages/agents/src/plugins/logging/types.ts:51](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L51)

---

### logger

• `Optional` **logger**: [`AbstractLogger`](AbstractLogger)

Logger instance for internal plugin logging

#### Defined in

[packages/agents/src/plugins/logging/types.ts:53](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L53)

---

### batchSize

• `Optional` **batchSize**: `number`

Batch size for remote logging

#### Defined in

[packages/agents/src/plugins/logging/types.ts:55](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L55)

---

### flushInterval

• `Optional` **flushInterval**: `number`

Flush interval for batched logging in milliseconds

#### Defined in

[packages/agents/src/plugins/logging/types.ts:57](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/plugins/logging/types.ts#L57)
