MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / trace

Function trace

src/lib/console.js:196–199  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

194 log("log", getStack(new Error()), `${label}: ${time}ms`);
195 },
196 trace(...args) {
197 originalConsole.trace(...args);
198 log("trace", getStack(new Error()), ...args);
199 },
200 warn(msg, ...substitution) {
201 originalConsole.warn(msg, ...substitution);
202 log("warn", getStack(new Error()), msg, ...substitution);

Callers

nothing calls this directly

Calls 3

getStackFunction · 0.85
traceMethod · 0.80
logFunction · 0.70

Tested by

no test coverage detected