MCPcopy Index your code
hub / github.com/awesome-opencode/awesome-opencode / log

Function log

scripts/export-json.js:112–118  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

110 const { outputPath, pretty } = parseArgs(process.argv.slice(2));
111 const writeToStdout = !outputPath;
112 const log = (...args) => {
113 if (writeToStdout) {
114 console.error(...args);
115 } else {
116 console.log(...args);
117 }
118 };
119
120 const { results, errors } = await loadEntries();
121

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected