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

Function sessionLog

packages/plugin/src/shared/logger.ts:77–79  ·  view source on GitHub ↗
(sessionId: string, message: string, data?: unknown)

Source from the content-addressed store, hash-verified

75}
76
77export function sessionLog(sessionId: string, message: string, data?: unknown): void {
78 log(`[magic-context][${sessionId}] ${message}`, data);
79}
80
81/**
82 * Resolve the current log file path. The path is harness-aware (see

Callers 15

queueMemoryEmbeddingFunction · 0.90
logIndexingErrorFunction · 0.90
recordChildInvocationFunction · 0.90
shouldExecuteFunction · 0.90
toPendingOpFunction · 0.90
casUpdateJsonArrayColumnFunction · 0.90
appendNoteNudgeAnchorFunction · 0.90
deliverNoteNudgeAtomicFunction · 0.90

Calls 1

logFunction · 0.85

Tested by

no test coverage detected