Skip to main content

Interface: LoggerConfig

Defined in: src/interfaces.ts:456

Basic logger configuration for Temporal integration. Controls whether logging is enabled and at what level.

Example​

const config: LoggerConfig = {
enableLogger: true,
logLevel: 'info'
};

Extended by​

Properties​

enableLogger?​

optional enableLogger?: boolean

Defined in: src/interfaces.ts:457


logLevel?​

optional logLevel?: LogLevel

Defined in: src/interfaces.ts:458


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

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 _.