MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / log

Function log

packages/opencode-atomic-hooks/src/index.ts:71–76  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

69 const userMessageIDs = new Set<string>();
70
71 const log = (msg: string) => {
72 const line = `${new Date().toISOString()} ${msg}\n`;
73 try {
74 appendFileSync(logFile, line);
75 } catch {}
76 };
77
78 // DEBUG: Separate debug log with full object inspection
79 const debug = (label: string, data?: unknown) => {

Callers 3

hookFunction · 0.70
recordTurnFunction · 0.70
AtomicHooksPluginFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected