MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / log

Method log

test/jest-config.ts:76–86  ·  view source on GitHub ↗
(...message)

Source from the content-addressed store, hash-verified

74 constructor(stdout, stderr, formatBuffer = (_type, message) => message) {
75 super(stdout, stderr, formatBuffer);
76 }
77 log(...message) {
78 let msg = '';
79 try {
80 throw new Error();
81 } catch (e) {
82 msg = `${
83 !message ? '' : message.map((x) => serialize(x)).join(' ')
84 }\n${formatStackTrace(e.stack)}\n`;
85 }
86 this['_logError']('log', msg);
87 }
88 error(...message) {
89 debugger;

Callers

nothing calls this directly

Calls 3

formatStackTraceFunction · 0.85
serializeFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected