MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / logToFile

Function logToFile

services/cloud-agent-next/wrapper/src/utils.ts:368–375  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

366 return false;
367 }
368}
369
370export function logToFile(message: string): void {
371 const logPath = process.env.WRAPPER_LOG_PATH || '/tmp/kilocode-wrapper.log';
372 try {
373 appendFileSync(logPath, `${new Date().toISOString()} ${message}\n`);
374 } catch {
375 // Ignore logging failures to avoid breaking the wrapper
376 }
377}

Callers 15

runCondenseOnCompleteFunction · 0.85
runSetupCommandsFunction · 0.85
rejectQuestionFunction · 0.85
resumeNetworkWaitFunction · 0.85
sendKiloSnapshotFunction · 0.85
sendCommandsAvailableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected