Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/volcengine/OpenViking
/ log
Function
log
examples/codex-memory-plugin/scripts/debug-log.mjs:52–54 ·
view source on GitHub ↗
(stage, data)
Source
from the content-addressed store, hash-verified
50
ensureDir(logPath);
51
52
function
log(stage, data) {
53
writeLine(logPath, { ts: localISO(), hook: hookName, stage, data });
54
}
55
56
function
logError(stage, err) {
57
const
error = err instanceof Error
Callers
12
selectStopTurns
Function · 0.70
main
Function · 0.70
resolveRecallCompressorProfile
Function · 0.70
detectRecallCompressorProfile
Function · 0.70
main
Function · 0.70
searchAll
Function · 0.70
getRecallCompressorProfile
Function · 0.70
compressMemoryContext
Function · 0.70
main
Function · 0.70
injectResumeArchive
Function · 0.70
commitAndClear
Function · 0.70
main
Function · 0.70
Calls
2
writeLine
Function · 0.70
localISO
Function · 0.70
Tested by
no test coverage detected