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

Function oraInstance

packages/airnode-deployer/src/utils/logger.ts:97–99  ·  view source on GitHub ↗
(text?: string)

Source from the content-addressed store, hash-verified

95}
96
97function oraInstance(text?: string) {
98 return debugModeFlag ? ora.default({ text, prefixText: () => new Date().toISOString() }) : ora.default(text);
99}
100
101export function writeLog(text: string, options?: LoggerOptions) {
102 if (!logsDirectory) throw new Error('Missing log file directory.');

Callers 5

constructorMethod · 0.85
succeedFunction · 0.85
failFunction · 0.85
warnFunction · 0.85
infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected