MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / levelMethod

Function levelMethod

ses.cjs:6792–6799  ·  view source on GitHub ↗
(...logArgs)

Source from the content-addressed store, hash-verified

6790 * @param {...any} logArgs
6791 */
6792 const levelMethod= (...logArgs)=> {
6793 const subErrors= [];
6794 const argTags= extractErrorArgs(logArgs, subErrors);
6795 // eslint-disable-next-line @endo/no-polymorphic-call
6796 baseConsole[level](...argTags);
6797 // @ts-expect-error ConsoleProp vs LogSeverity mismatch
6798 logSubErrors(level, subErrors);
6799 };
6800 defineProperty(levelMethod, 'name', { value: level});
6801 return [level, freeze(levelMethod)];
6802 });

Callers

nothing calls this directly

Calls 2

extractErrorArgsFunction · 0.85
logSubErrorsFunction · 0.85

Tested by

no test coverage detected