MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / initPerfLog

Function initPerfLog

apps/desktop/main/worker/core/perfLogger.ts:24–28  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

22} from '@openchatlab/node-runtime'
23
24export function initPerfLog(sessionId: string): void {
25 const dbDir = getDbDir()
26 const logDir = path.join(path.dirname(dbDir), 'logs', 'import')
27 coreInitPerfLog(sessionId, logDir)
28}

Callers

nothing calls this directly

Calls 1

getDbDirFunction · 0.90

Tested by

no test coverage detected