MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / print

Function print

modules/code-generator/src/standalone-worker.ts:61–68  ·  view source on GitHub ↗
(text: string, ...args: any[])

Source from the content-addressed store, hash-verified

59}
60
61function print(text: string, ...args: any[]) {
62 console.debug(`[code-generator/worker]: ${text}`, ...args);
63 self.postMessage({
64 type: 'stdout',
65 data: text,
66 args,
67 });
68}
69
70function printErr(text: string, ...args: any[]) {
71 console.debug(`[code-generator/worker]: %c${text}`, 'color:red', ...args);

Callers 1

runFunction · 0.70

Calls 1

debugMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…