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

Function log

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

Source from the content-addressed store, hash-verified

70 const userMessageIDs = new Set<string>();
71
72 const log = (msg: string) => {
73 const line = `${new Date().toISOString()} ${msg}\n`;
74 try {
75 appendFileSync(logFile, line);
76 } catch {}
77 };
78
79 // DEBUG: Separate debug log with full object inspection
80 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