跳转到内容
简体中文

DiagnosticsOptionsBuilder

此内容尚不支持你的语言。

Defined in: src/diagnostics/DiagnosticsOptions.ts:169

Fluent builder for DiagnosticsOptionsType.

new DiagnosticsOptionsBuilder(): DiagnosticsOptionsBuilder

DiagnosticsOptionsBuilder

OptionsBuilder.constructor

build(): Partial<T>

Defined in: src/util/OptionsBuilder.ts:51

Snapshot the set fields as an independent Partial<T> (own props only).

Partial<T>

OptionsBuilder.build


withDebugEventStream(debugEventStream?): this

Defined in: src/diagnostics/DiagnosticsOptions.ts:206

Trace event-stream subscribe and unsubscribe. Never publish.

boolean = true

this


withDebugLifecycle(debugLifecycle?): this

Defined in: src/diagnostics/DiagnosticsOptions.ts:201

Trace actor start, stop and restart.

boolean = true

this


withDebugUnhandled(debugUnhandled?): this

Defined in: src/diagnostics/DiagnosticsOptions.ts:196

Trace messages an actor was handed and declined.

boolean = true

this


withLogConfigOnStart(logConfigOnStart?): this

Defined in: src/diagnostics/DiagnosticsOptions.ts:191

Dump the merged configuration to the log once at startup.

boolean = true

this


withLogDeadLetters(logDeadLetters): this

Defined in: src/diagnostics/DiagnosticsOptions.ts:176

Dead letters logged in full before logging suspends. 0 disables it.

number

this


withLogDeadLettersDuringShutdown(logDeadLettersDuringShutdown): this

Defined in: src/diagnostics/DiagnosticsOptions.ts:181

Log the dead letters terminate()’s mailbox drain produces.

boolean

this


withLogDeadLettersSuspendDurationMs(logDeadLettersSuspendDurationMs): this

Defined in: src/diagnostics/DiagnosticsOptions.ts:186

How long logging stays suspended after the cap. 0 never suspends.

number

this


static create(): DiagnosticsOptionsBuilder

Defined in: src/diagnostics/DiagnosticsOptions.ts:171

Start a fresh builder.

DiagnosticsOptionsBuilder