Skip to content

openai / Exports / PayloadLoggerOptions

Interface: PayloadLoggerOptions

Configuration options for payload loggers

Table of contents

Properties

Properties

enabled

Optional enabled: boolean

Whether logging is enabled

Default Value

ts
true

Defined in

interfaces/payload-logger.ts:35


includeTimestamp

Optional includeTimestamp: boolean

Include timestamp in log entries

Default Value

ts
true

Defined in

interfaces/payload-logger.ts:41


logger

Optional logger: any

Logger instance for console output

Default Value

ts
DefaultConsoleLogger

Defined in

interfaces/payload-logger.ts:47

Released under the MIT License.