Skip to content

openai / Exports / IPayloadLoggerOptions

Interface: IPayloadLoggerOptions

Configuration options for payload loggers

Table of contents

Properties

Properties

enabled

Optional enabled: boolean

Whether logging is enabled

Default Value

ts
true;

Defined in

openai/src/interfaces/payload-logger.ts:35


includeTimestamp

Optional includeTimestamp: boolean

Include timestamp in log entries

Default Value

ts
true;

Defined in

openai/src/interfaces/payload-logger.ts:41


logger

Optional logger: AbstractLogger

Logger instance for console output

Default Value

ts
DefaultConsoleLogger;

Defined in

openai/src/interfaces/payload-logger.ts:47

Released under the MIT License.