Skip to content

UpdatableConfig

Defined in: src/updatable-config.ts:28

Updatable AlgoKit config

new UpdatableConfig(): UpdatableConfig

Defined in: src/updatable-config.ts:90

UpdatableConfig

get debug(): boolean

Defined in: src/updatable-config.ts:39

Whether or not debug mode is enabled

boolean

AlgoKitConfig.debug


get events(): AsyncEventEmitter

Defined in: src/updatable-config.ts:59

AsyncEventEmitter

AlgoKitConfig.events


get logger(): Logger

Defined in: src/updatable-config.ts:35

Logger

Logger

AlgoKitConfig.logger


get maxSearchDepth(): number

Defined in: src/updatable-config.ts:55

The maximum depth to search for a specific file

number

AlgoKitConfig.maxSearchDepth


get populateAppCallResources(): boolean

Defined in: src/updatable-config.ts:31

Whether to enable populateAppCallResources in sendParams by default. Default value is false.

boolean

AlgoKitConfig.populateAppCallResources


get projectRoot(): string | null

Defined in: src/updatable-config.ts:43

The path to the project root directory

string | null

AlgoKitConfig.projectRoot


get traceAll(): boolean

Defined in: src/updatable-config.ts:47

Indicates whether to trace all operations

boolean

AlgoKitConfig.traceAll


get traceBufferSizeMb(): number

Defined in: src/updatable-config.ts:51

The size of the trace buffer in megabytes

number

AlgoKitConfig.traceBufferSizeMb

configure(newConfig): void

Defined in: src/updatable-config.ts:107

Update the AlgoKit configuration with your own configuration settings

Partial<AlgoKitConfig>

Partial or complete config to replace

void


getLogger(returnNullLogger?): Logger

Defined in: src/updatable-config.ts:68

Returns the current logger, or the null logger if true is passed in to returnNullLogger

boolean

Whether or not to return the null logger

Logger

The requested logger


withDebug(lambda): void

Defined in: src/updatable-config.ts:80

Temporarily run with debug set to true.

() => unknown

A lambda expression with code to run with debug config set to true

void