Skip to main content

Interface: ActivityModuleOptions

Defined in: src/interfaces.ts:923

Configuration options for activity module initialization. Extends LoggerConfig with activity-specific settings.

Extends​

Properties​

activityClasses?​

optional activityClasses?: Type<unknown>[]

Defined in: src/interfaces.ts:924


enableLogger?​

optional enableLogger?: boolean

Defined in: src/interfaces.ts:457

Inherited from​

LoggerConfig.enableLogger


global?​

optional global?: boolean

Defined in: src/interfaces.ts:926


logLevel?​

optional logLevel?: LogLevel

Defined in: src/interfaces.ts:458

Inherited from​

LoggerConfig.logLevel


muteErrors?​

optional muteErrors?: boolean

Defined in: src/interfaces.ts:465

When true, suppresses error-level log output and prevents service methods from throwing on operational failures (they return structured error results instead).

Default​

false

Inherited from​

LoggerConfig.muteErrors


redactKeys?​

optional redactKeys?: string[]

Defined in: src/interfaces.ts:471

Extra object keys whose values are replaced with [REDACTED] when the library logs structured data. Credentials, TLS material and payload bodies are always redacted; see DEFAULT_REDACT_KEYS. Matching ignores case, - and _.

Inherited from​

LoggerConfig.redactKeys


timeout?​

optional timeout?: string | number

Defined in: src/interfaces.ts:925