@algorandfoundation/algokit-utils / types/config / UpdatableConfig
types/config.UpdatableConfig
Updatable AlgoKit config
Readonly
<Config
>
• new UpdatableConfig()
• Private
config: Config
• get
debug(): boolean
boolean
Readonly.debug
• get
logger(): Logger
Readonly.logger
▸ configure(newConfig
): void
Update the AlgoKit configuration with your own configuration settings
Name | Type | Description |
---|---|---|
newConfig |
Partial <Config > |
Partial or complete config to replace |
void
▸ getLogger(returnNullLogger?
): Logger
Returns the current logger, or the null logger if true is passed in to returnNullLogger
Name | Type | Description |
---|---|---|
returnNullLogger? |
boolean |
Whether or not to return the null logger |
The requested logger
▸ withDebug(lambda
): void
Temporarily run with debug set to true.
Name | Type | Description |
---|---|---|
lambda |
() => unknown |
A lambda expression with code to run with debug config set to true |
void