MCPcopy
hub / github.com/graphql/graphql-spec / logd

Function logd

scripts/generate-contributor-list.mjs:7–7  ·  view source on GitHub ↗
(...xs)

Source from the content-addressed store, hash-verified

5const RAW_ARGS = process.argv.slice(2);
6const DEBUG = RAW_ARGS.includes("--debug");
7const logd = (...xs) => { if (DEBUG) console.error(...xs) };
8
9const collator = new Intl.Collator("en", { sensitivity: "base" });
10const cmp = (a, b) => collator.compare(a, b);

Callers 2

workerFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected