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

Function warn

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

Source from the content-addressed store, hash-verified

121}
122
123export function warn(text: string, options?: LoggerOptions) {
124 writeLog(text, options);
125 const currentOra = getSpinner();
126 if (currentOra.isSpinning()) {
127 currentOra.clear();
128 currentOra.frame();
129 }
130 oraInstance().warn(text);
131}
132
133export function info(text: string, options?: LoggerOptions) {
134 writeLog(text, options);

Callers

nothing calls this directly

Calls 7

writeLogFunction · 0.85
getSpinnerFunction · 0.85
oraInstanceFunction · 0.85
isSpinningMethod · 0.80
clearMethod · 0.80
frameMethod · 0.80
warnMethod · 0.80

Tested by

no test coverage detected