Skip to content

UpdatableConfig

@algorandfoundation/algokit-utils / types/config / UpdatableConfig

types/config.UpdatableConfig

Updatable AlgoKit config

• new UpdatableConfig(): UpdatableConfig

UpdatableConfig

src/types/config.ts:90

• Private config: Config

src/types/config.ts:29

• get debug(): boolean

boolean

Readonly.debug

src/types/config.ts:39


• get events(): AsyncEventEmitter

AsyncEventEmitter

Readonly.events

src/types/config.ts:59


• get logger(): Logger

Logger

Readonly.logger

src/types/config.ts:35


• get maxSearchDepth(): number

number

Readonly.maxSearchDepth

src/types/config.ts:55


• get populateAppCallResources(): boolean

boolean

Readonly.populateAppCallResources

src/types/config.ts:31


• get projectRoot(): null | string

null | string

Readonly.projectRoot

src/types/config.ts:43


• get traceAll(): boolean

boolean

Readonly.traceAll

src/types/config.ts:47


• get traceBufferSizeMb(): number

number

Readonly.traceBufferSizeMb

src/types/config.ts:51

▸ configure(newConfig): void

Update the AlgoKit configuration with your own configuration settings

NameTypeDescription
newConfigPartial<Config>Partial or complete config to replace

void

src/types/config.ts:107


▸ getLogger(returnNullLogger?): Logger

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

NameTypeDescription
returnNullLogger?booleanWhether or not to return the null logger

Logger

The requested logger

src/types/config.ts:68


▸ withDebug(lambda): void

Temporarily run with debug set to true.

NameTypeDescription
lambda() => unknownA lambda expression with code to run with debug config set to true

void

src/types/config.ts:80