MCPcopy Create free account
hub / github.com/github/copilot-sdk / log

Function log

test/harness/replayingCapiProxy.ts:1298–1298  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

1296): number | undefined {
1297 const logFile = process.env.PROXY_DEBUG_LOG;
1298 const log = (msg: string) => { if (logFile) try { appendFileSync(logFile, msg + "\n"); } catch {} };
1299
1300 if (requestMessages.length >= savedMessages.length) {
1301 log(`prefix check failed: request.length=${requestMessages.length} >= saved.length=${savedMessages.length}`);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected