MCPcopy Create free account
hub / github.com/cortexkit/magic-context / appendLog

Function appendLog

packages/plugin/scripts/longmemeval/runner.ts:93–95  ·  view source on GitHub ↗
(filePath: string, line: string)

Source from the content-addressed store, hash-verified

91}
92
93async function appendLog(filePath: string, line: string): Promise<void> {
94 await appendLine(filePath, `[${new Date().toISOString()}] ${line}`);
95}
96
97function sleep(ms: number): Promise<void> {
98 return new Promise((resolveSleep) => setTimeout(resolveSleep, ms));

Callers 5

sleepWithLogFunction · 0.85
cleanupSessionsFunction · 0.85
processQuestionFunction · 0.85
workerFunction · 0.85
mainFunction · 0.85

Calls 1

appendLineFunction · 0.85

Tested by

no test coverage detected