MCPcopy Create free account
hub / github.com/api3dao/airnode / debugSpinner

Function debugSpinner

packages/airnode-deployer/src/utils/logger.ts:151–161  ·  view source on GitHub ↗
(text: string, options?: LoggerOptions)

Source from the content-addressed store, hash-verified

149}
150
151export function debugSpinner(text: string, options?: LoggerOptions) {
152 writeLog(text, options);
153
154 if (debugModeFlag) {
155 const spinner = getSpinner();
156 spinner.info(text);
157 return spinner;
158 }
159
160 return dummySpinner;
161}
162
163export function debugMode(mode: boolean) {
164 debugModeFlag = mode;

Callers

nothing calls this directly

Calls 3

writeLogFunction · 0.85
getSpinnerFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected