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

# Interface: LogEntry

Log entry structure

## Table of contents

### Properties

- [timestamp](LogEntry#timestamp)
- [level](LogEntry#level)
- [message](LogEntry#message)
- [context](LogEntry#context)
- [metadata](LogEntry#metadata)

## Properties

### timestamp

• **timestamp**: `Date`

#### Defined in

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

---

### level

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

#### Defined in

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

---

### message

• **message**: `string`

#### Defined in

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

---

### context

• `Optional` **context**: `Record`\<`string`, `undefined` \| `string` \| `number` \| `boolean` \| `Date`\>

#### Defined in

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

---

### metadata

• `Optional` **metadata**: `Object`

#### Type declaration

| Name              | Type     |
| :---------------- | :------- |
| `executionId?`    | `string` |
| `conversationId?` | `string` |
| `userId?`         | `string` |
| `sessionId?`      | `string` |
| `operation?`      | `string` |
| `duration?`       | `number` |

#### Defined in

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