MCPcopy Index your code
hub / github.com/volcengine/OpenViking / writeLine

Function writeLine

examples/codex-memory-plugin/scripts/debug-log.mjs:25–29  ·  view source on GitHub ↗
(filePath, obj)

Source from the content-addressed store, hash-verified

23}
24
25function writeLine(filePath, obj) {
26 try {
27 appendFileSync(filePath, JSON.stringify(obj) + "\n");
28 } catch { /* best effort */ }
29}
30
31function localISO() {
32 const d = new Date();

Callers 2

logFunction · 0.70
logErrorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected